From 2a6da7814c27a7e851c8c7a883441ae9d34cd95c Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 9 Jul 1999 20:43:59 +0000 Subject: Step 4: Move to a 7-bit counter (not fully implemented yet) --- Zend/zend_operators.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zend/zend_operators.c') 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: -- cgit v1.2.1