diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-05-26 17:16:16 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-05-26 17:16:16 +0400 |
commit | 40256e0f9c76b7233e264b8a6e8430feee2c551c (patch) | |
tree | d4756b05ae1c24ee4ccf414b4ff91d1074714767 /Zend/zend_operators.c | |
parent | 22f6cf91d54d2a475e818ba82b673ede08e923ea (diff) | |
download | php-git-40256e0f9c76b7233e264b8a6e8430feee2c551c.tar.gz |
Use specialized functions instead of macros
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
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; } } |