delete commented part, as it was done in HEAD

This commit is contained in:
Antony Dovgal 2006-08-28 10:59:18 +00:00
parent f7ba7232d8
commit 191d68618a

View File

@ -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;
}