repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_spl_iterators
/
append_iterator_rewinds_children.php
blob
5805b8209a37979317f54d6d09622c6fb94614b8
1
<
?php
2
3
$a
=
new
AppendIterator
();
4
$a1
=
new
ArrayIterator
([
1
,
2
,
3
]);
5
$a1
->
next
();
6
$a
->
append
(
$a1
);
7
8
var_dump
(
$a
->
current
());