diff options
author | Felipe Pena <felipe@php.net> | 2009-06-15 17:31:02 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-06-15 17:31:02 +0000 |
commit | aa8811982ef9a6303900fbbf706c7b652cc48c26 (patch) | |
tree | 755ebbacfdfd6f690030e3dbf650fc496e5fe7a3 /ext/soap/php_encoding.c | |
parent | f78a0b585c7717ebe4f5c69d3c03116ea0c6c966 (diff) | |
download | php-git-aa8811982ef9a6303900fbbf706c7b652cc48c26.tar.gz |
- MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com>
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index a33b794f25..0fb511c3fe 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -2838,7 +2838,7 @@ static zval *to_zval_map(encodeTypePtr type, xmlNodePtr data) 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 { |