3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print date("d.m.Y H:i", strtotime("first day -1 month"));
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.2.17, 5.3.3 - 7.1.0
02.12.2013 10:57
Output for 5.3.0 - 5.3.2
01.11.2013 10:57
Output for 5.0.0 - 5.0.2
02.12.2013 00:00