php-src/ext/spl/tests/iterator_017.phpt
2008-05-24 14:10:44 +00:00

19 lines
244 B
PHP
Executable File

--TEST--
SPL: EmptyIterator
--FILE--
<?php
echo "===EmptyIterator===\n";
foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
{
echo "$key=>$val\n";
}
?>
===DONE===
<?php exit(0);
--EXPECTF--
===EmptyIterator===
===DONE===