diff options
| author | Andrei Zmievski <andrei@php.net> | 1999-12-21 17:14:31 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 1999-12-21 17:14:31 +0000 |
| commit | 80bab9d9394939c43e61300621aa7c72ab901ef7 (patch) | |
| tree | 39fd30c7003962471e74271389d3353e6972dd8c /Zend/zend_execute_API.c | |
| parent | ff7a79c6cfe6389510826eeda01732c8a5cda428 (diff) | |
| download | php-git-80bab9d9394939c43e61300621aa7c72ab901ef7.tar.gz | |
We're using ZVAL's now.
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 6325b57f2d..116a776fba 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -105,7 +105,7 @@ void init_executor(CLS_D ELS_DC) zend_ptr_stack_init(&EG(argument_stack)); EG(main_op_array) = NULL; - zend_hash_init(&EG(symbol_table), 50, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(&EG(symbol_table), 50, NULL, ZVAL_PTR_DTOR, 0); EG(active_symbol_table) = &EG(symbol_table); zend_llist_apply(&zend_extensions, (void (*)(void *)) zend_extension_activator); @@ -371,7 +371,7 @@ int call_user_function_ex(HashTable *function_table, zval *object, zval *functio if (function_state.function->type == ZEND_USER_FUNCTION) { calling_symbol_table = EG(active_symbol_table); EG(active_symbol_table) = (HashTable *) emalloc(sizeof(HashTable)); - zend_hash_init(EG(active_symbol_table), 0, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(EG(active_symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0); if (object) { zval *dummy = (zval *) emalloc(sizeof(zval)), **this_ptr; |
