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('Sunday last week');

preferences:
45.41 ms | 402 KiB | 5 Q