summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index ba675f639a..5e911802c9 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -277,6 +277,8 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals)
zend_hash_copy(compiler_globals->class_table, global_class_table, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry));
zend_set_default_compile_time_values(CLS_C);
+
+ CG(interactive) = 0;
}
@@ -302,7 +304,6 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals)
zend_init_rsrc_plist(ELS_C);
EG(lambda_count)=0;
EG(user_error_handler) = NULL;
- EG(interactive) = 0;
EG(in_execution) = 0;
}