3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 0; while ($i++) { switch ($i) { case 5: print "At 5<br />"; break 1; case 10: print "At 10; quitting<br />"; break 2; default: break; print "$i"; } } ?>
based on biCGi
Output for 5.3.13 - 7.2.0