3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch (2) { default: echo "first default\n"; break; default: echo "second default\n"; }
based on WD1k6
Output for 5.3.0 - 5.6.28
second default