Annotation of embedaddon/php/ext/spl/tests/iterator_062.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SPL: RecursiveIteratorIterator::__construct(void)
! 3: --CREDITS--
! 4: Sebastian Schürmann
! 5: --FILE--
! 6: <?php
! 7: class myRecursiveIteratorIterator extends RecursiveIteratorIterator {
! 8:
! 9: }
! 10:
! 11: try {
! 12: $it = new myRecursiveIteratorIterator();
! 13: } catch (InvalidArgumentException $e) {
! 14: echo 'InvalidArgumentException thrown';
! 15: }
! 16: ?>
! 17: --EXPECT--
! 18: InvalidArgumentException thrown
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>