1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug49723.phpt
2018-10-14 19:46:15 +02:00

17 lines
213 B
PHP

--TEST--
LimitIterator: do not seek if not needed
--FILE--
<?php
$it = new ArrayIterator(array());
$lit = new LimitIterator($it, 0, 5);
foreach ($lit as $v) {
echo $v;
}
?>
===DONE===
--EXPECT--
===DONE===