1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00

Removed useless separation

This commit is contained in:
Dmitry Stogov
2018-01-17 03:00:11 +03:00
parent ecd2624875
commit c4fa7345dc

View File

@@ -648,7 +648,6 @@ zval *zend_std_read_property(zval *object, zval *member, int type, void **cache_
retval = rv;
if (!Z_ISREF_P(rv) &&
(type == BP_VAR_W || type == BP_VAR_RW || type == BP_VAR_UNSET)) {
SEPARATE_ZVAL_NOREF(rv);
if (UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) {
zend_error(E_NOTICE, "Indirect modification of overloaded property %s::$%s has no effect", ZSTR_VAL(zobj->ce->name), Z_STRVAL_P(member));
}