cvs: ZendEngine2 / zend_iterators.c

From: Date: Sat, 18 Oct 2003 18:20:43 +0000
Subject: cvs: ZendEngine2 / zend_iterators.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1920@lists.php.net to get a copy of this message
helly Sat Oct 18 14:20:43 2003 EDT Modified files: /ZendEngine2 zend_iterators.c Log: Fallback to old behavior until we have a default iterator that respects visibility we do the array trick. Index: ZendEngine2/zend_iterators.c diff -u ZendEngine2/zend_iterators.c:1.1 ZendEngine2/zend_iterators.c:1.2 --- ZendEngine2/zend_iterators.c:1.1 Fri Oct 17 13:19:44 2003 +++ ZendEngine2/zend_iterators.c Sat Oct 18 14:20:42 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_iterators.c,v 1.1 2003/10/17 17:19:44 helly Exp $ */ +/* $Id: zend_iterators.c,v 1.2 2003/10/18 18:20:42 helly Exp $ */ #include "zend.h" #include "zend_API.h" @@ -86,7 +86,8 @@ *iter = (zend_object_iterator *)zend_object_store_get_object(array_ptr TSRMLS_CC); return ZEND_ITER_OBJECT; } - return ZEND_ITER_INVALID; + /* Until we have a default iterator that respects visibility we do the array trick */ + /*return ZEND_ITER_INVALID*/; case IS_ARRAY: *iter = NULL;

« previous php.zend-engine.cvs (#1920) next »