3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "10"; switch($a) { case "0": echo "zero"; break; case "10": echo "ten"; break; default: echo "nothing doing"; break; }
based on XM9PQ
Output for 4.3.0 - 7.1.0
ten