3v4l.org

run code in 300+ PHP versions simultaneously
<?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"; }

preferences:
40.02 ms | 402 KiB | 5 Q