1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Files
archived-php-src/ext/spl/examples/tests/iterators_001.phpt
T
2004-04-28 20:10:21 +00:00

21 lines
275 B
PHP
Executable File

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