3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('m.d.y', strtotime('last Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('next Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('last Monday')) . "\n"; echo date('m.d.y',strtotime('last Monday', strtotime('last Monday'))) . "\n"; echo "\n"; echo date('m.d.y',strtotime('now - ' . intval(date('N')) - 1 . ' day')); ?>

preferences:
42.39 ms | 402 KiB | 5 Q