3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function xrange($start, $end, $inc) { for ($start; $start <= $end; $start+=$inc) { yield $start; } } foreach(xrange(1, 100) as $n) { print "$n\n"; }