3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = []; for ($i = 0; $i < 5; ++$i) { if ($i == 2) { continue; } print "$i\n"; $arr[] = $i; } var_dump($arr);
Output for 7.2.6
0 1 3 4 array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(3) [3]=> int(4) }