From 62b81df9b0b07b299570f3dfb9c13bd075e5256c Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 12 Feb 2004 14:31:13 +0000 Subject: [PATCH] - This was too strict. --- Zend/zend_object_handlers.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 3aa12f5148..b6645a8ebf 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -387,11 +387,6 @@ zval *zend_std_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) return 0; } - if ((type == BP_VAR_W || type == BP_VAR_RW) - && !retval->is_ref) { - zend_error(E_ERROR, "offsetGet() must return by reference for multi-dimensional array support"); - } - /* Undo PZVAL_LOCK() */ retval->refcount--; -- 2.40.0