3v4l.org

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 "Bob": echo "You ain't Travis, please get him."; break; } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Welcome