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

1.1     ! misho       1: --TEST--
        !             2: Bug #31348 (CachingIterator::rewind() leaks)
        !             3: --FILE--
        !             4: <?php
        !             5: $a = Array("some","blah");
        !             6: $i = new ArrayIterator($a);
        !             7: 
        !             8: $ci = new CachingIterator($i);
        !             9: 
        !            10: $ci->rewind();
        !            11: 
        !            12: ?>
        !            13: ===DONE===
        !            14: --EXPECT--
        !            15: ===DONE===

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