3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(-5,5); //var_dump($range); foreach($range as $item){ switch($item){ case ($item<=16): $case = '<16'; continue; break; case ( ($item>=17) && ($item<=20)): $case = '>=17_<=20'; break; } echo $item.' '.$case.'<br/>'; }

preferences:
27.17 ms | 402 KiB | 5 Q