3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hourMin = '17:56'; if ($hourMin >= strtotime('17:00') || $hourMin <= strtotime('06:00')) { echo "Yes"; } else { echo "No"; }

preferences:
35.98 ms | 402 KiB | 5 Q