cvs: ZendEngine2 / zend_object_handlers.c
| From: | Andi Gutmans | Date: | Thu, 12 Feb 2004 14:31:14 +0000 |
| Subject: | cvs: ZendEngine2 / zend_object_handlers.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2370@lists.php.net to get a copy of this message | ||
andi Thu Feb 12 09:31:14 2004 EDT
Modified files:
/ZendEngine2 zend_object_handlers.c
Log:
- This was too strict.
http://cvs.php.net/diff.php/ZendEngine2/zend_object_handlers.c?r1=1.93&r2=1.94&ty=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.93 ZendEngine2/zend_object_handlers.c:1.94
--- ZendEngine2/zend_object_handlers.c:1.93 Thu Feb 12 08:49:55 2004
+++ ZendEngine2/zend_object_handlers.c Thu Feb 12 09:31:13 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.93 2004/02/12 13:49:55 zeev Exp $ */
+/* $Id: zend_object_handlers.c,v 1.94 2004/02/12 14:31:13 andi Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -387,11 +387,6 @@
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--;