From: Dmitry Stogov Date: Wed, 17 Jan 2018 17:09:28 +0000 (+0300) Subject: Eliminate duplication, increment_string() performs it anyway. X-Git-Tag: php-7.3.0alpha1~585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25a44cb99eb7a9b0be90df6d35602a24af4b3345;p=php Eliminate duplication, increment_string() performs it anyway. --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 4de6ba0c07..359669c4b7 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -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 {