Annotation of embedaddon/php/ext/spl/tests/iterator_063.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: SPL: LimitIterator::__construct(void)
        !             3: --CREDITS--
        !             4: Sebastian Schürmann
        !             5: --FILE--
        !             6: <?php
        !             7: class myLimitIterator extends LimitIterator {
        !             8:        
        !             9: }
        !            10: try {
        !            11:        $it = new myLimitIterator();
        !            12: } catch (InvalidArgumentException $e) {
        !            13:        echo 'InvalidArgumentException thrown';
        !            14: }
        !            15: ?>
        !            16: --EXPECT--
        !            17: InvalidArgumentException thrown

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>