3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach( array_merge( range( 0, 2), range( 4, 8), range( 10, 15)) as $i) { echo $i . "\n"; }
Output for 4.3.0 - 7.1.7
0 1 2 4 5 6 7 8 10 11 12 13 14 15