3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 0; switch ($i) { case $i > 0 && $i < 3: echo '00'; break; case $i > 6 && $i < 9: echo '15'; break; case $i == 0: echo 'TEST'; break; }
based on SotIn
Output for 5.3.18 - 7.2.0
00