]> granicus.if.org Git - php/commit
Reintroduce use of FETCH_GLOBAL_LOCK
authorNikita Popov <nikic@php.net>
Thu, 10 Dec 2015 17:51:03 +0000 (18:51 +0100)
committerNikita Popov <nikic@php.net>
Thu, 10 Dec 2015 18:04:59 +0000 (19:04 +0100)
commitc8a64e289c23aee4fdeb8c906f504cf4d61adeea
treee597b693fc876b45fecbcd93af0af1ebc066ad7a
parent7ea1cf2e571d6522730f4e4876d34990f3bca69e
Reintroduce use of FETCH_GLOBAL_LOCK

Just found this old AST todo...

It no longer makes sense as an optimization due to the introduction
of BIND_GLOBAL, however it ensures that the global variable name is
not evaluated twice, which is presumably something we wish to
guarantee.
Zend/zend_compile.c