3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch ("a") { case "a": test(); echo "b"; } function test() { echo "c"; break; }
Output for 4.3.2 - 5.4.30
c Fatal error: Cannot break/continue 1 level in /in/gkPRE on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1
c Fatal error: Cannot break/continue 1 level in /in/gkPRE on line 12