diff options
author | Andi Gutmans <andi@php.net> | 2001-12-13 16:55:04 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-12-13 16:55:04 +0000 |
commit | f4b832d277390f1e20e38ed275f26867c7c6537c (patch) | |
tree | 91aac94c57214300836ce189a1d565493adf77b7 /Zend/zend_execute_API.c | |
parent | c55f8b96c9477c21b2d5033050d386a3d5a6807c (diff) | |
download | php-git-f4b832d277390f1e20e38ed275f26867c7c6537c.tar.gz |
- Fix crash bug in startup code.
- Start work on being able to reference global and local scope
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index a9ea4469a7..7141391975 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -136,7 +136,7 @@ void init_executor(TSRMLS_D) zend_hash_init(&EG(symbol_table), 50, NULL, ZVAL_PTR_DTOR, 0); EG(active_symbol_table) = &EG(symbol_table); - + zend_llist_apply(&zend_extensions, (llist_apply_func_t) zend_extension_activator TSRMLS_CC); EG(opline_ptr) = NULL; EG(garbage_ptr) = 0; @@ -160,6 +160,10 @@ void init_executor(TSRMLS_D) EG(exception) = NULL; EG(namespace) = NULL; + + EG(main_class_ptr) = &CG(main_class); + CG(main_class).static_members = &EG(symbol_table); + } |