bug31348.phpt 209 B

123456789101112131415
  1. --TEST--
  2. Bug #31348 (CachingIterator::rewind() leaks)
  3. --FILE--
  4. <?php
  5. $a = Array("some","blah");
  6. $i = new ArrayIterator($a);
  7. $ci = new CachingIterator($i);
  8. $ci->rewind();
  9. ?>
  10. ===DONE===
  11. --EXPECT--
  12. ===DONE===