3v4l.org

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

preferences:
42 ms | 402 KiB | 5 Q