Browse Source

Access to globals/autoglobals from class __destructor was fixed.

(see "tests/lang/bug24908.phpt" and "tests/classes/destructor_and_globals.phpt")
PEAR_1_4DEV
Dmitry Stogov 23 years ago
parent
commit
20f73cd267
  1. 3
      Zend/zend_execute_API.c

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

Loading…
Cancel
Save