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