summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_017.phpt
blob: 39d1000f62d6317533a38696906c3b622c06045e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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===