3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch(true) { default: echo "1\n"; default: echo "2\n"; }
Output for 4.3.0 - 5.6.28
2