3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = 1; switch ($test) { case: 1: var_dump('pizza'); case: 2: var_dump('onions'); }
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected ':' in /in/fcQqc on line 4
Process exited with code 255.