summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-05-26 17:16:16 +0400
committerDmitry Stogov <dmitry@zend.com>2014-05-26 17:16:16 +0400
commit40256e0f9c76b7233e264b8a6e8430feee2c551c (patch)
treed4756b05ae1c24ee4ccf414b4ff91d1074714767 /Zend/zend_operators.c
parent22f6cf91d54d2a475e818ba82b673ede08e923ea (diff)
downloadphp-git-40256e0f9c76b7233e264b8a6e8430feee2c551c.tar.gz
Use specialized functions instead of macros
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index f90412ac45..2ab70e8fa1 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -728,7 +728,7 @@ ZEND_API void convert_to_object(zval *op) /* {{{ */
zval tmp;
ZVAL_COPY_VALUE(&tmp, op);
object_init(op);
- zend_hash_str_update(Z_OBJPROP_P(op), "scalar", sizeof("scalar")-1, &tmp);
+ zend_hash_str_add_new(Z_OBJPROP_P(op), "scalar", sizeof("scalar")-1, &tmp);
break;
}
}