summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-07-09 20:43:59 +0000
committerZeev Suraski <zeev@php.net>1999-07-09 20:43:59 +0000
commit2a6da7814c27a7e851c8c7a883441ae9d34cd95c (patch)
tree5c925cb62a111269c85ace3551b928356b1ca341 /Zend/zend_operators.c
parent6ec1acbe32e4a1a9a94a0e623816d25809ce9a2b (diff)
downloadphp-git-2a6da7814c27a7e851c8c7a883441ae9d34cd95c.tar.gz
Step 4:
Move to a 7-bit counter (not fully implemented yet)
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index 35ab1c0197..38963c8c61 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -332,8 +332,7 @@ static void convert_scalar_to_array(zval *op, int type)
zval *entry = (zval *) emalloc(sizeof(zval));
*entry = *op;
- entry->refcount = 1;
- entry->EA = 0;
+ INIT_PZVAL(entry);
switch (type) {
case IS_ARRAY: