3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v="red,yellow"; switch($v){ case "blue" : echo "your color is blue"; break; case "green": echo "your color is green"; break; case "yellow": echo "your color is yellow"; break; default: echo "you have no color"; }
based on EP7RT
Output for 4.3.0 - 7.2.0
you have no color