3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 3; switch ($a) { case 2; echo "success"; break; case 3; echo "fail"; break; default; echo "default"; break; }
based on PMWTV
Output for 4.3.0 - 7.2.6
fail