3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch (1) { default: echo 1; case 1: echo 0; default: echo 2; default: echo 3; }
based on raCWi
Output for 4.3.0 - 5.6.28
023