diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-15 14:08:58 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-15 14:08:58 +0000 |
| commit | 85b4df53c0c7c538206244e9f7d0764380a909bb (patch) | |
| tree | 72ed3a4d2e7380bc22fad9c4c729153feea5a247 /Zend/zend.c | |
| parent | 4e1c65b42bea6ef1fc7ca5d9655132e760a33f42 (diff) | |
| download | php-git-85b4df53c0c7c538206244e9f7d0764380a909bb.tar.gz | |
Improved interactive mode - it is now available in all builds, without any significant slowdown
Diffstat (limited to 'Zend/zend.c')
| -rw-r--r-- | Zend/zend.c | 3 |
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; } |
