$a = new ArrayIterator(array('a','b','c'));
$b = new ArrayIterator(array('d','e','f'));
$it = new AppendIterator()->append($a)->append($b);
$b = new ArrayIterator(array('d','e','f'));
$it = new AppendIterator()->append($a)->append($b);
2015-12-26
$it = new ArrayObject()->getIterator();
foreach($it as $key=>$value)
foreach($it as $key=>$value)
2015-12-26