php-src/ext/spl/tests/bug31348.phpt
2008-05-24 14:10:44 +00:00

16 lines
209 B
PHP
Executable File

--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===