3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch(4) { case 0: echo '0'; break; default: echo '1'; break; default: echo '2'; }
Output for 5.3.0 - 5.6.28
2