run code in 150+ php & hhvm versions
Bugs & Features
<?php $person = 'Travis'; echo 'Welcome '; switch ($person){ case "Jack": echo "You ain't Travis, sorry."; break; case "Mike": echo "You ain't Travis, try again."; break; case "Travis": echo "Finally, where have you been?"; break; default: echo "sorry, unable to help."; break; } ?>
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0RC4
Welcome Finally, where have you been?