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:
Dmitry Stogov 2003-12-17 14:25:12 +00:00
parent 490fd0eaf2
commit 20f73cd267

View File

@ -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 {