<?php $tests = [ [3, 0], [3, 1], [3, 21], ]; foreach($tests as [$d, $h]){ $img = ''; if ($d == 3 && $h >= 0 && $h < 20) $img = 'https://web.saio.net/images/script/so.gif'; var_dump($img); }
You have javascript disabled. You will not be able to edit any code.