3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); switch($_GET['a']) { case "lol" : echo "haha"; case "hihi": echo "lachen!"; default: echo "nja"; } or { echo "iserniet"; } ?>
Output for 5.4.0 - 5.4.1
Parse error: syntax error, unexpected 'or' (T_LOGICAL_OR) in /in/VmRBG on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.11
Parse error: syntax error, unexpected T_LOGICAL_OR in /in/VmRBG on line 11
Process exited with code 255.