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

1.1     ! misho       1: --TEST--
        !             2: Bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
        !             3: --FILE--
        !             4: <?php
        !             5: $ai = new ArrayIterator(array(0,1));
        !             6: 
        !             7: var_dump($ai->count());
        !             8: 
        !             9: $ii = new IteratorIterator($ai);
        !            10: 
        !            11: var_dump($ii->count());
        !            12: ?>
        !            13: --EXPECTF--
        !            14: int(2)
        !            15: int(2)

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