summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug31348.phpt
blob: 047e4b223ac250970083bb3d09258eb7574fd2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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===