mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fallback to old behavior until we have a default iterator that respects
visibility we do the array trick.
This commit is contained in:
parent
0577d9310b
commit
15bfbc7619
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue