1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00

Fixed bug #70993 (Array key references break argument processing)

This commit is contained in:
Xinchen Hui
2015-11-30 10:50:23 +08:00
parent e6e77d9e27
commit 5df6f9f20e
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -50,6 +50,10 @@ PHP NEWS
- Streams/Socket
. Add IPV6_V6ONLY constant / make it usable in stream contexts. (Bob)
- Soap:
. Fixed bug #70993 (Array key references break argument processing).
(Laruence)
26 Nov 2015, PHP 7.0.0 RC 8
- Core:
+1
View File
@@ -2941,6 +2941,7 @@ PHP_METHOD(SoapClient, __call)
real_args = safe_emalloc(sizeof(zval), arg_count, 0);
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), param) {
/*zval_add_ref(param);*/
ZVAL_DEREF(param);
ZVAL_COPY_VALUE(&real_args[i], param);
i++;
} ZEND_HASH_FOREACH_END();