3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 2; switch($a) { default: echo '0'; case 1: echo '1'; }
based on I4Csq
Output for 4.3.0 - 7.1.0
01