1--TEST--
2SPL: EmptyIterator
3--FILE--
4<?php
5
6echo "===EmptyIterator===\n";
7
8foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
9{
10 echo "$key=>$val\n";
11}
12
13?>
14===DONE===
15<?php exit(0);
16--EXPECT--
17===EmptyIterator===
18===DONE===
19