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_compile.c | |
| parent | ff7a79c6cfe6389510826eeda01732c8a5cda428 (diff) | |
| download | php-git-80bab9d9394939c43e61300621aa7c72ab901ef7.tar.gz | |
We're using ZVAL's now.
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 9d592d47bc..dbc413b15d 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1419,7 +1419,7 @@ void do_begin_class_declaration(znode *class_name, znode *parent_class_name CLS_ zend_str_tolower(CG(class_entry).name, CG(class_entry).name_length); zend_hash_init(&CG(class_entry).function_table, 10, NULL, ZEND_FUNCTION_DTOR, 0); - zend_hash_init(&CG(class_entry).default_properties, 10, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(&CG(class_entry).default_properties, 10, NULL, ZVAL_PTR_DTOR, 0); /* code for inheritance from parent class */ if (parent_class_name) { @@ -1807,7 +1807,7 @@ void do_fetch_global_or_static_variable(znode *varname, znode *static_assignment *tmp = static_assignment->u.constant; if (!CG(active_op_array)->static_variables) { CG(active_op_array)->static_variables = (HashTable *) emalloc(sizeof(HashTable)); - zend_hash_init(CG(active_op_array)->static_variables, 2, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(CG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); } zend_hash_update_ptr(CG(active_op_array)->static_variables, varname->u.constant.value.str.val, varname->u.constant.value.str.len+1, tmp, sizeof(zval *), NULL); } |
