repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
spl
/
tests
/
iterator_017.phpt
blob
39d1000f62d6317533a38696906c3b622c06045e
1
--TEST--
2
SPL: EmptyIterator
3
--FILE--
4
<?php
5
6
echo "===EmptyIterator===\n";
7
8
foreach(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
--EXPECTF--
17
===EmptyIterator===
18
===DONE===