Annotation of embedaddon/php/ext/spl/tests/recursive_tree_iterator_003.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: RecursiveTreeIterator(non-traversable)
3: --INI--
4: error_reporting=E_ALL&~E_NOTICE
5: --FILE--
6: <?php
7: try {
8: new RecursiveTreeIterator(new ArrayIterator(array()));
9: } catch (InvalidArgumentException $e) {
10: echo "InvalidArgumentException thrown\n";
11: }
12: ?>
13: ===DONE===
14: --EXPECTF--
15: InvalidArgumentException thrown
16: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>