mirror of
https://github.com/php/php-src.git
synced 2026-04-17 13:01:02 +02:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
16 lines
206 B
PHP
16 lines
206 B
PHP
--TEST--
|
|
SPL: EmptyIterator
|
|
--FILE--
|
|
<?php
|
|
|
|
echo "===EmptyIterator===\n";
|
|
|
|
foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
|
|
{
|
|
echo "$key=>$val\n";
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
===EmptyIterator===
|