3v4l.org

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

preferences:
65.32 ms | 402 KiB | 5 Q