3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 12; switch($a) { case 13: echo "asd"; break; default: echo "lol"; break; default: echo "xd"; break; }
based on H4aHS
Output for 7.0.0
Fatal error: Switch statements may only contain one default clause in /in/vI3ms on line 11
Process exited with code 255.
Output for 5.3.20 - 5.6.28
xd