Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71986 (Nested foreach assign-by-reference creates broken variables)
This commit is contained in:
Xinchen Hui committed 2016-04-08 17:58:31 +08:00
commit f63ba809a1
1 file changed
+1
+1
View File
@@ -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;