summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xZend/zend_iterators.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_iterators.c b/Zend/zend_iterators.c
index 73f8903f29..3da67b26cf 100755
--- a/Zend/zend_iterators.c
+++ b/Zend/zend_iterators.c
@@ -86,7 +86,8 @@ ZEND_API enum zend_object_iterator_kind zend_iterator_unwrap(
*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;