3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpswitch (1) { default: echo 1; case 1: echo 2; default: echo 3;}
Output for 5.3.0 - 5.4.32
<?phpswitch (1) { default: echo 1; case 1: echo 2; default: echo 3;}