php-src/ext/spl/tests/bug31348.phpt

18 lines
273 B
Plaintext
Raw Normal View History

2005-01-24 20:22:56 +00:00
--TEST--
Bug #31348 (CachingIterator::rewind() leaks)
2005-12-21 22:21:54 +00:00
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
2005-01-24 20:22:56 +00:00
--FILE--
<?php
$a = Array("some","blah");
$i = new ArrayIterator($a);
$ci = new CachingIterator($i);
$ci->rewind();
?>
===DONE===
--EXPECT--
===DONE===