3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d', strtotime('last Monday', strtotime('2014-10-06 00:00:00'))); echo "\r\n"; echo date('Y-m-d', strtotime('last Monday', strtotime('2014-09-30 00:00:00')));
Output for 4.3.0 - 7.1.7
2014-09-29 2014-09-29