3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $soda = "cola"; switch($soda): case "cola": echo "It's about cola"; case "big": echo "It's about big cola"; break; case "pepsi": echo "It's about pepsi"; break; default: echo "not at all"; endswitch;
Output for 4.3.0 - 7.2.0
It's about colaIt's about big cola