3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('r', strtotime('last monday', strtotime('4 April 1991')));
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.6.24, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Mon, 01 Apr 1991 00:00:00 +0200
Output for 4.3.0 - 4.3.10, 5.0.0 - 5.0.3
Mon, 1 Apr 1991 00:00:00 +0200