diff options
Diffstat (limited to 'ext/spl/tests/iterator_002.phpt')
-rw-r--r-- | ext/spl/tests/iterator_002.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/tests/iterator_002.phpt b/ext/spl/tests/iterator_002.phpt index 527fe6b776..61765421f1 100644 --- a/ext/spl/tests/iterator_002.phpt +++ b/ext/spl/tests/iterator_002.phpt @@ -9,7 +9,7 @@ class RecursiceArrayIterator extends ArrayIterator implements RecursiveIterator { return is_array($this->current()); } - + function getChildren() { return new RecursiceArrayIterator($this->current()); @@ -22,12 +22,12 @@ class CrashIterator extends FilterIterator implements RecursiveIterator { return true; } - + function hasChildren() { return $this->getInnerIterator()->hasChildren(); } - + function getChildren() { return new RecursiceArrayIterator($this->getInnerIterator()->current()); |