]> granicus.if.org Git - php/commitdiff
delete commented part, as it was done in HEAD
authorAntony Dovgal <tony2001@php.net>
Mon, 28 Aug 2006 10:59:18 +0000 (10:59 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 28 Aug 2006 10:59:18 +0000 (10:59 +0000)
Zend/zend_object_handlers.c

index 96bdc87ee323c044646ee56d5fc5a4cf1b612ef6..9785cc0b69d7a9bb57562238e1d633d078523e32 100644 (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;
 }