com php-src: can never be an object at compile time: Zend/zend_execute.c

From: Date: Wed, 09 Mar 2016 06:24:02 +0000
Subject: com php-src: can never be an object at compile time: Zend/zend_execute.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95592@lists.php.net to get a copy of this message
Commit: 476805f0b13d59562c7a12ec422b2b7b7fead492 Author: Joe Watkins <krakjoe@php.net> Wed, 9 Mar 2016 06:24:02 +0000 Parents: 17f749eaff4a21effaf54de07d63a3a44b3994f5 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=476805f0b13d59562c7a12ec422b2b7b7fead492 Log: can never be an object at compile time Changed paths: M Zend/zend_execute.c Diff: diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 033eebf..ac0f4a6 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -806,9 +806,7 @@ zend_bool zend_verify_property_type(zend_class_entry *scope, zend_string *name, ZSTR_VAL(scope->name), ZSTR_VAL(name), ZSTR_VAL(resolved), - Z_TYPE_P(property) == IS_OBJECT ? - ZSTR_VAL(Z_OBJCE_P(property)->name) : - zend_get_type_by_const(Z_TYPE_P(property))); + zend_get_type_by_const(Z_TYPE_P(property))); } return 0; } @@ -836,9 +834,7 @@ zend_bool zend_verify_property_type(zend_class_entry *scope, zend_string *name, ZSTR_VAL(scope->name), ZSTR_VAL(name), zend_get_type_by_const(type), - Z_TYPE_P(property) == IS_OBJECT ? - ZSTR_VAL(Z_OBJCE_P(property)->name) : - zend_get_type_by_const(Z_TYPE_P(property))); + zend_get_type_by_const(Z_TYPE_P(property))); } return 0; }

« previous php.cvs (#95592) next »