diff options
author | Zeev Suraski <zeev@php.net> | 1999-07-09 20:43:59 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-07-09 20:43:59 +0000 |
commit | 2a6da7814c27a7e851c8c7a883441ae9d34cd95c (patch) | |
tree | 5c925cb62a111269c85ace3551b928356b1ca341 /Zend/zend_operators.c | |
parent | 6ec1acbe32e4a1a9a94a0e623816d25809ce9a2b (diff) | |
download | php-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.c | 3 |
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: |