summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_070.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_070.phpt')
-rw-r--r--ext/spl/tests/iterator_070.phpt20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/spl/tests/iterator_070.phpt b/ext/spl/tests/iterator_070.phpt
new file mode 100644
index 000000000..c45f08ec4
--- /dev/null
+++ b/ext/spl/tests/iterator_070.phpt
@@ -0,0 +1,20 @@
+--TEST--
+SPL: RecursiveIteratorIterator - Ensure that non-overriden methods execute problem free.
+--FILE--
+<?php
+
+$array = array();
+$recArrIt = new RecursiveArrayIterator($array);
+
+$recItIt = new RecursiveIteratorIterator($recArrIt);
+
+var_dump($recItIt->beginIteration());
+var_dump($recItIt->endIteration());
+var_dump($recItIt->nextElement());
+
+?>
+
+--EXPECTF--
+NULL
+NULL
+NULL \ No newline at end of file