<?php $a = new \AppendIterator(); $a->append(new \ArrayIterator([1])); $b = new \AppendIterator(); $b->append($a); $b->append(new \ArrayIterator([1])); foreach ($b AS $z){ var_dump($z); }
You have javascript disabled. You will not be able to edit any code.