]> granicus.if.org Git - php/commitdiff
Eliminate duplication, increment_string() performs it anyway.
authorDmitry Stogov <dmitry@zend.com>
Wed, 17 Jan 2018 17:09:28 +0000 (20:09 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 17 Jan 2018 17:09:28 +0000 (20:09 +0300)
Zend/zend_execute.c

index 4de6ba0c072295f4c77eb4bdd00d23c0afbad29d..359669c4b77e14066980cec41cb0598601c00d06 100644 (file)
@@ -1387,7 +1387,7 @@ static zend_never_inline void zend_post_incdec_overloaded_property(zval *object,
                } else {
                        ZVAL_COPY(result, z);
                }
-               ZVAL_DUP(&z_copy, result);
+               ZVAL_COPY(&z_copy, result);
                if (inc) {
                        increment_function(&z_copy);
                } else {