3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 } ?>
Output for 4.3.0 - 7.1.0