php-src/ext/spl/tests/iterator_010.phpt
Marcus Boerger b9470609ad - Minor fixes
- Implement AppendIterator in C
2004-11-01 00:26:59 +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===