3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<5;$i++) { print($i); switch($i % 2) { case true: continue; case false: break; } print(" is odd\n"); }
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.2
0 is odd 1 is odd 2 is odd 3 is odd 4 is odd