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:
@@ -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:
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user