Return to bug31348.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
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===