3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 0 => 'zero', 4 => 'four', 1 => 'one' ); foreach($a as $_a){ echo $_a.'<br />'; }
Output for 4.3.0 - 7.1.0
zero<br />four<br />one<br />