summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-26 21:21:33 +0000
committerZeev Suraski <zeev@php.net>1999-12-26 21:21:33 +0000
commit235386b24569eb5d41baffa88151550ba04992ce (patch)
tree0db42a31df098a289a813527b823098d41bd5312 /Zend/zend_operators.c
parentc517633b4963b684fd9f43704a72bcbbe4d30bf2 (diff)
downloadphp-git-235386b24569eb5d41baffa88151550ba04992ce.tar.gz
Change ALLOC_ZVAL() semantics
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index 60f568a3df..6256155f3e 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -339,8 +339,9 @@ ZEND_API void convert_to_string(zval *op)
static void convert_scalar_to_array(zval *op, int type)
{
- zval *entry = ALLOC_ZVAL();
+ zval *entry;
+ ALLOC_ZVAL(entry);
*entry = *op;
INIT_PZVAL(entry);