3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 5; switch ($value) { case ($value >= 100): echo 'greater than 100'; case ($value > 0): echo 'greater than 0'; case ($value == 0): echo 'equal to 0'; }
Output for 4.3.0 - 7.2.0
greater than 0equal to 0