3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('F Y-m-d H:i:s',strtotime("Next April")) . "\n"; echo date('F Y-m-d H:i:s',strtotime("April")) . "\n"; echo date('F Y-m-d H:i:s',strtotime("Last April")) . "\n";
Output for 5.2.0 - 7.1.0
January 1970-01-01 01:00:00 April 2014-04-21 00:00:00 January 1970-01-01 01:00:00
Output for 5.1.0 - 5.1.6
January 1970-01-01 01:00:00 January 1970-01-01 01:00:00 January 1970-01-01 01:00:00
Output for 4.4.0 - 4.4.9, 5.0.5
April 2014-04-01 00:00:00 January 1970-01-01 00:59:59 March 2014-03-30 00:00:00
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
April 2014-04-02 00:00:00 January 1970-01-01 00:59:59 March 2014-03-30 00:00:00