summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-10-26 14:13:42 +0000
committerAndi Gutmans <andi@php.net>2001-10-26 14:13:42 +0000
commit89a0e852514abdba2d984b0efbebb757d9c2a481 (patch)
tree8279c7c86216665231c961c6573028a8584ed6e2 /Zend/zend_execute_API.c
parentca38506fb7e84f9f1897df55e9dde15207a450c6 (diff)
downloadphp-git-89a0e852514abdba2d984b0efbebb757d9c2a481.tar.gz
- Fix Zeev's MFZE1
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 55fd232993..5cff595e15 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -152,6 +152,8 @@ void init_executor(TSRMLS_D)
EG(orig_error_reporting) = EG(error_reporting);
zend_objects_init(&EG(objects), 1024);
+
+ EG(full_tables_cleanup) = 0;
#ifdef ZEND_WIN32
EG(timed_out) = 0;
#endif
@@ -183,7 +185,7 @@ void shutdown_executor(TSRMLS_D)
zend_ptr_stack_destroy(&EG(argument_stack));
/* Destroy all op arrays */
- if (EG(full_tables_cleanup) {
+ if (EG(full_tables_cleanup)) {
zend_hash_apply(EG(function_table), (apply_func_t) is_not_internal_function TSRMLS_CC);
zend_hash_apply(EG(class_table), (apply_func_t) is_not_internal_class TSRMLS_CC);
} else {
@@ -671,7 +673,6 @@ ZEND_API void zend_timeout(int dummy)
}
- EG(full_tables_cleanup) = 0;
#ifdef ZEND_WIN32
static LRESULT CALLBACK zend_timeout_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{