mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
delete commented part, as it was done in HEAD
This commit is contained in:
parent
f7ba7232d8
commit
191d68618a
@ -361,9 +361,6 @@ zval *zend_std_read_property(zval *object, zval *member, int type TSRMLS_DC)
|
||||
zval_ptr_dtor(&tmp_member);
|
||||
(*retval)->refcount--;
|
||||
}
|
||||
// if (*retval && (type == BP_VAR_W || type == BP_VAR_RW) && Z_TYPE_PP(retval) == IS_ARRAY) {
|
||||
// zend_error(E_ERROR, "Cannot use array returned from %s::__get('%s') in write context", zobj->ce->name, Z_STRVAL_P(member));
|
||||
// }
|
||||
return *retval;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user