3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first_day_of_week = date('l'); $date = intval(date()); if ($date <= 7 && $first_day_of_week == 'Tuesday') { // It's the first Monday of the month. echo "this is the first Monday of the week"; } ?>

preferences:
45.29 ms | 402 KiB | 5 Q