3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php switch ($expr) { default: echo "Hello World"; break; default: echo "Goodbye Moon!"; break; }
Output for 7.0.0 - 7.0.1
Fatal error: Switch statements may only contain one default clause in /in/9DNcb on line 8
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Goodbye Moon!