mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
16 lines
209 B
PHP
Executable File
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===
|