1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: ext/soap/php_encoding.c
===================================================================
RCS file: /repository/php-src/ext/soap/php_encoding.c,v
retrieving revision 1.103.2.21.2.37.2.13
diff -u -r1.103.2.21.2.37.2.13 php_encoding.c
--- ext/soap/php_encoding.c	26 Jan 2009 11:09:36 -0000	1.103.2.21.2.37.2.13
+++ ext/soap/php_encoding.c	15 Jun 2009 14:09:24 -0000
@@ -2838,7 +2838,7 @@
 			value = master_to_zval(NULL, xmlValue);

 			if (Z_TYPE_P(key) == IS_STRING) {
-				zend_hash_update(Z_ARRVAL_P(ret), Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &value, sizeof(zval *), NULL);
+				zend_symtable_update(Z_ARRVAL_P(ret), Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &value, sizeof(zval *), NULL);
 			} else if (Z_TYPE_P(key) == IS_LONG) {
 				zend_hash_index_update(Z_ARRVAL_P(ret), Z_LVAL_P(key), &value, sizeof(zval *), NULL);
 			} else {