From: Antony Dovgal Date: Mon, 28 Aug 2006 10:59:18 +0000 (+0000) Subject: delete commented part, as it was done in HEAD X-Git-Tag: php-5.2.0RC3~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=191d68618aae6de6a65a1512fa97dfe99c49248e;p=php delete commented part, as it was done in HEAD --- diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 96bdc87ee3..9785cc0b69 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -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; }