From 85b4df53c0c7c538206244e9f7d0764380a909bb Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 15 Jul 2001 14:08:58 +0000 Subject: Improved interactive mode - it is now available in all builds, without any significant slowdown --- Zend/zend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zend/zend.c') 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; } -- cgit v1.2.1