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_operators.c | |
parent | ff7a79c6cfe6389510826eeda01732c8a5cda428 (diff) | |
download | php-git-80bab9d9394939c43e61300621aa7c72ab901ef7.tar.gz |
We're using ZVAL's now.
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 4368028bb4..ed4be2cc0b 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -347,13 +347,13 @@ static void convert_scalar_to_array(zval *op, int type) switch (type) { case IS_ARRAY: op->value.ht = (HashTable *) emalloc(sizeof(HashTable)); - zend_hash_init(op->value.ht, 0, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(op->value.ht, 0, NULL, ZVAL_PTR_DTOR, 0); zend_hash_index_update(op->value.ht, 0, (void *) &entry, sizeof(zval *), NULL); op->type = IS_ARRAY; break; case IS_OBJECT: op->value.obj.properties = (HashTable *) emalloc(sizeof(HashTable)); - zend_hash_init(op->value.obj.properties, 0, NULL, PVAL_PTR_DTOR, 0); + zend_hash_init(op->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0); zend_hash_update(op->value.obj.properties, "scalar", sizeof("scalar"), (void *) &entry, sizeof(zval *), NULL); op->value.obj.ce = &zend_standard_class_def; op->type = IS_OBJECT; |