mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array elements)
This commit is contained in:
parent
9a2207c90a
commit
6929121423
3 changed files with 41 additions and 0 deletions
|
@ -568,6 +568,7 @@ static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int dep
|
|||
xReturn = XMLRPC_CreateVector(key, vtype);
|
||||
|
||||
ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(val_arr), num_index, my_key, pIter) {
|
||||
ZVAL_DEREF(pIter);
|
||||
ht = HASH_OF(pIter);
|
||||
if (ht) {
|
||||
ht->u.v.nApplyCount++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue