3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?switch($MyVar):?> <?case '1':?> Step One <?break;?> <?case '2':?> Step Two <?break;?> <?endswitch;?>
Output for 5.3.0 - 5.4.32
<?switch($MyVar):?> <?case '1':?> Step One <?break;?> <?case '2':?> Step Two <?break;?> <?endswitch;?>