3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 8; switch('SOMEARBITRARYNOTHINGNESS') { case ($a > 10): var_dump('Greater than 10'); break; case ($a < 10): var_dump('Less than 10'); break; default: var_dump('Is 10'); }
Output for 4.3.0 - 7.2.0
string(12) "Less than 10"