diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-11-06 17:45:14 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-11-06 17:45:14 +0300 |
commit | 53a437d3c3a69012fc51b8c0d3800c66172f7ca9 (patch) | |
tree | 3cff9e6dddaadc5485c101f2b283b63ec19d6b46 /Zend | |
parent | f2ad1fb3c9ba90217cfc00dc57a2b5a99c21fdff (diff) | |
download | php-git-53a437d3c3a69012fc51b8c0d3800c66172f7ca9.tar.gz |
Use better function
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_object_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 12a9562c0a..ad5a55510b 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -641,7 +641,7 @@ write_std_property: if (!zobj->properties) { rebuild_object_properties(zobj); } - zend_hash_update(zobj->properties, Z_STR_P(member), value); + zend_hash_add_new(zobj->properties, Z_STR_P(member), value); } } |