]> granicus.if.org Git - php/commit
Fixed bug #71695 (Global variables are reserved before execution).
authorXinchen Hui <laruence@gmail.com>
Tue, 1 Mar 2016 11:19:07 +0000 (19:19 +0800)
committerXinchen Hui <laruence@gmail.com>
Tue, 1 Mar 2016 11:19:07 +0000 (19:19 +0800)
commit186844be92d26a74ce61bd71d14053ae5be42602
treeae3d82629e1810fb74a6ff9fe614e9f3e912ada5
parent9fc0517328a248825703bef90d631ec687fb0d58
Fixed bug #71695 (Global variables are reserved before execution).

Instead of slow down hash_merge, we may also check the array(whether it
contains INDIRECT) outside of the loop, however, consisdering hash_merge
is not widly used, I prefer fix this in the current way to keep the
codes simple
NEWS
Zend/tests/bug71695.phpt [new file with mode: 0644]
Zend/zend_hash.c
ext/standard/array.c