3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "010"; switch ($str) { case "008": var_dump("str is 00"); break; case "010": var_dump("str is 0"); break; }
based on Vaq03
Output for 4.3.0 - 7.1.0
string(8) "str is 0"