3v4l.org

run code in 300+ PHP versions simultaneously
<?php switch (1) { default: break; default: break; }
Output for 7.0.0 - 7.0.2
Fatal error: Switch statements may only contain one default clause in /in/gPoiY on line 6
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28

preferences:
171.29 ms | 1387 KiB | 37 Q