3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total_width = 1500; $resolutions = [100, 50, 10, 1000]; rsort($resolutions); if ($total_width > $resolutions[0]){ //true foreach($resolutions as $break_point){ if ($total_width <= $break_point){ echo "this will never happen"; } } }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
154.46 ms | 2743 KiB | 11 Q