com php-src: Eliminate duplication, increment_string() performs it anyway.: Zend/zend_execute.c

From: Date: Wed, 17 Jan 2018 17:09:28 +0000
Subject: com php-src: Eliminate duplication, increment_string() performs it anyway.: Zend/zend_execute.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100949@lists.php.net to get a copy of this message
Commit: 25a44cb99eb7a9b0be90df6d35602a24af4b3345 Author: Dmitry Stogov <dmitry@zend.com> Wed, 17 Jan 2018 20:09:28 +0300 Parents: a87a2f464b813ac2f1474d1fe0da78c33020c5c3 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25a44cb99eb7a9b0be90df6d35602a24af4b3345 Log: Eliminate duplication, increment_string() performs it anyway. Changed paths: M Zend/zend_execute.c Diff: diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 4de6ba0..359669c 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 {

« previous php.cvs (#100949) next »