3v4l.org

run code in 150+ 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 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
second message