3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! echo date('Y-m-d h:m:i', strtotime(strtotime('2013-31-08 00:00:03') . ' + 1 MONTH'));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-08-22 04:08:00
Output for 5.1.0 - 5.1.2
1970-01-01 01:01:00
Output for 4.3.0 - 5.0.5
143635-05-03 12:05:00