com php-src: check correct variable: Zend/zend_execute.c

From: Date: Mon, 23 May 2016 12:57:23 +0000
Subject: com php-src: check correct variable: Zend/zend_execute.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95555@lists.php.net to get a copy of this message
Commit: fce9549c6be364c81c83532eabd36094f032a264 Author: Joe Watkins <krakjoe@php.net> Mon, 23 May 2016 13:57:23 +0100 Parents: 19de3fc3cd53dd1f71e9ffb6c136350184c1bf47 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fce9549c6be364c81c83532eabd36094f032a264 Log: check correct variable Changed paths: M Zend/zend_execute.c Diff: diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 58a5edf..36f599a 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1526,7 +1526,7 @@ static zend_never_inline void zend_post_incdec_overloaded_property(zval *object, ZVAL_COPY(result, z); } - if (Z_TYPE_P(property) == IS_STRING && !Z_VERIFIED_P(property) && ZEND_CLASS_HAS_TYPE_HINTS(Z_OBJCE_P(object))) { + if (Z_TYPE_P(property) == IS_STRING && !Z_VERIFIED_P(result) && ZEND_CLASS_HAS_TYPE_HINTS(Z_OBJCE_P(object))) { zend_property_info *prop_info = zend_object_fetch_property_type_info_ex(object, Z_STR_P(property), cache_slot); if (prop_info) {

« previous php.cvs (#95555) next »