3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = range(0, 9); $it = new ArrayIterator($array); $lim = new LimitIterator($it, 3, 4); $lim->seek(2); var_dump(iterator_to_array($lim));