3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = date('l'); strtotime('monday this week'); if($test = "Sunday"){ } echo strtotime('Tuesday last week'); echo strtotime('Monday last week');

preferences:
37.18 ms | 402 KiB | 5 Q