3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $current_time = strtotime('now'); if ($current_time > strtotime('saturday this week 5:00pm') && $current_time < strtotime('sunday this week 9:00am')) { echo "first message"; } else { echo "second message"; }
Output for 4.3.0 - 7.2.0
second message