php-src/ext/spl/tests/bug31348.phpt
2012-10-10 10:27:49 +08:00

16 lines
209 B
PHP

--TEST--
Bug #31348 (CachingIterator::rewind() leaks)
--FILE--
<?php
$a = Array("some","blah");
$i = new ArrayIterator($a);
$ci = new CachingIterator($i);
$ci->rewind();
?>
===DONE===
--EXPECT--
===DONE===