summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-06 23:07:43 +0000
committerMarcus Boerger <helly@php.net>2005-03-06 23:07:43 +0000
commit16f0329a52832b69c7ca418e47495135817a61d4 (patch)
tree654e5e94ab3ebf7654375763de9468d58971d322
parentf3970b80760fc8cde23197602b28bdb244d0f8a1 (diff)
downloadphp-git-16f0329a52832b69c7ca418e47495135817a61d4.tar.gz
- Fix problem with exception in other methods, too
-rwxr-xr-xext/spl/spl_iterators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index 62964b02bf..bdf8d247d3 100755
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -168,7 +168,7 @@ static void spl_recursive_it_move_forward_ex(spl_recursive_it_object *object, zv
zend_object_iterator *sub_iter;
int has_children;
- while (1) {
+ while (!EG(exception)) {
next_step:
iterator = object->iterators[object->level].iterator;
switch (object->iterators[object->level].state) {