3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date("r", strtotime('last Monday May 2013')));
Output for 5.1.0 - 7.1.0
string(31) "Mon, 29 Apr 2013 00:00:00 +0200"
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.0.5
string(31) "Wed, 01 May 2013 00:00:00 +0200"
Output for 4.3.5 - 4.3.10, 5.0.0 - 5.0.3
string(31) "Wed, 1 May 2013 00:00:00 +0200"
Output for 4.3.0 - 4.3.4
string(31) "Sat, 3 Nov 2018 00:00:00 +0100"