diff options
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:  | 
