summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-09-29 11:17:43 +0300
committerDmitry Stogov <dmitry@zend.com>2015-09-29 11:17:43 +0300
commit560e4fa39327e952652b6469d9644fc5fa2c15fa (patch)
treeb91589369c569d8efe84785303b58ad0fdd17c18 /main/php_variables.c
parent617bef558bbc8e2dd7682d9f407963b4a88092eb (diff)
downloadphp-git-560e4fa39327e952652b6469d9644fc5fa2c15fa.tar.gz
Removed or simplified incorrect SEPARATE_*() macros usage.
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 173d6b075d..2dac0ed0ea 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -649,7 +649,7 @@ static void php_autoglobal_merge(HashTable *dest, HashTable *src)
zend_hash_index_update(dest, num_key, src_entry);
}
} else {
- SEPARATE_ZVAL(dest_entry);
+ SEPARATE_ARRAY(dest_entry);
php_autoglobal_merge(Z_ARRVAL_P(dest_entry), Z_ARRVAL_P(src_entry));
}
} ZEND_HASH_FOREACH_END();