From: Dmitry Stogov Date: Wed, 17 Dec 2003 14:25:12 +0000 (+0000) Subject: Access to globals/autoglobals from class __destructor was fixed. X-Git-Tag: php-5.0.0b3RC1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20f73cd267a3c347bd3e3176afd4d83ce0679b52;p=php Access to globals/autoglobals from class __destructor was fixed. (see "tests/lang/bug24908.phpt" and "tests/classes/destructor_and_globals.phpt") --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 4354729dfd..4549c8bccb 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -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 {