3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = new ArrayIterator(); $i->offsetSet(0, 0); $i->offsetSet(100, 100); $i->offsetSet(200, FALSE); print_r($i->current()); print_r(count($i));

preferences:
44.14 ms | 402 KiB | 5 Q