3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = 1; switch ($value) { case 1 || 2: echo 'the value is either 1 or 2'; break; }
Output for 4.3.0 - 7.1.0
the value is either 1 or 2