mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Access to globals/autoglobals from class __destructor was fixed.
(see "tests/lang/bug24908.phpt" and "tests/classes/destructor_and_globals.phpt")
This commit is contained in:
parent
490fd0eaf2
commit
20f73cd267
@ -207,7 +207,8 @@ void shutdown_executor(TSRMLS_D)
|
||||
*/
|
||||
zend_llist_apply(&zend_extensions, (llist_apply_func_t) zend_extension_deactivator TSRMLS_CC);
|
||||
|
||||
zend_hash_destroy(&EG(symbol_table));
|
||||
zend_hash_graceful_reverse_destroy(&EG(symbol_table));
|
||||
/* zend_hash_destroy(&EG(symbol_table));*/
|
||||
} zend_end_try();
|
||||
|
||||
zend_try {
|
||||
|
Loading…
Reference in New Issue
Block a user