3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime('last monday', strtotime('tomorrow', strtotime('2014-10-06')))); echo "\r\n"; echo date('Y-m-d', strtotime('last monday', strtotime('tomorrow', strtotime('2014-09-30'))));

preferences:
34.52 ms | 402 KiB | 5 Q