xref: /php-src/ext/spl/tests/bug31348.phpt (revision 610c7fbe)
1--TEST--
2Bug #31348 (CachingIterator::rewind() leaks)
3--FILE--
4<?php
5$a = Array("some","blah");
6$i = new ArrayIterator($a);
7
8$ci = new CachingIterator($i);
9
10$ci->rewind();
11
12?>
13===DONE===
14--EXPECT--
15===DONE===
16