3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "0-Gravity"; switch ($str) { case "0-the-e": var_dump("ガンダム?"); break; case "0-Gravity": var_dump("洋画?"); break; }
based on Vaq03
Output for 4.3.0 - 7.1.0
string(9) "洋画?"