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"; ?>
Output for 5.4.0 - 5.4.1
Parse error: syntax error, unexpected end of file in /in/AHReG on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.11
Parse error: syntax error, unexpected $end in /in/AHReG on line 12
Process exited with code 255.