mirror of
https://github.com/php/php-src.git
synced 2026-04-03 06:02:23 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: Fixed bug #71986 (Nested foreach assign-by-reference creates broken variables)
This commit is contained in:
@@ -3512,6 +3512,7 @@ static encodePtr get_array_type(xmlNodePtr node, zval *array, smart_str *type)
|
||||
ht = Z_ARRVAL_P(array);
|
||||
|
||||
ZEND_HASH_FOREACH_VAL_IND(ht, tmp) {
|
||||
ZVAL_DEREF(tmp);
|
||||
if (Z_TYPE_P(tmp) == IS_OBJECT &&
|
||||
Z_OBJCE_P(tmp) == soap_var_class_entry) {
|
||||
zval *ztype;
|
||||
|
||||
Reference in New Issue
Block a user