summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_010.phpt
blob: b8013d7311ef9805cf1610958b58aca80e0288bc (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);
--EXPECT--
===EmptyIterator===
===DONE===