3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = "x"; switch ($var) { case 'y': case 'x': case 'g': echo "fine"; break; case 'a': echo "other"; break; default: echo "no"; break; }
based on MiVHX
Output for 4.3.0 - 7.2.0
fine