1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 06:02:23 +02:00
Files
archived-php-src/ext/spl/tests/bug31348.phpt
Marcus Boerger 36e6841ef5 - Add new test
2005-01-24 20:22:56 +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===