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')) . ' day'); ?>
Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
Parse error: syntax error, unexpected ';' in /in/8Fd5U on line 7
Process exited with code 255.

preferences:
172.12 ms | 1395 KiB | 37 Q