3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 5; switch ($a) { default: echo 'a'; case 1: echo 'b'; case 6: echo 'c'; }
Output for 4.3.0 - 7.2.0
abc