3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date('d-m-Y'); $our = date('H:i:s'); //$our = '23:10:00'; $nextDay = date('Y-m-d', strtotime('now + 1day')); if($our <= '8:00:00' && $our >= '22:00:00'): //hello endif; var_dump($our);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
152.46 ms | 2106 KiB | 11 Q