3v4l.org

run code in 300+ PHP versions simultaneously
<?php $day = date("l"); $current_hour = date("g"); if ($day == "Monday" && $current_hour >= 16 && $current_hour <= 19) { //do your code here } else { // do your alternate coding here } ?>

preferences:
45.31 ms | 402 KiB | 5 Q