3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch (42) { default: neverExecuted(); break; case '12': echo "wha?"; default: echo "OK!"; }
based on DEfes
Output for 5.4.0 - 5.6.28
OK!