3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo gmdate('d-m-y H:i:s',strtotime("January"))."\n"; echo gmdate('d-m-y H:i:s',strtotime("February"))."\n"; echo gmdate('d-m-y H:i:s',strtotime("March"))."\n"; echo gmdate('d-m-y H:i:s',strtotime("April"))."\n"; echo gmdate('d-m-y H:i:s',strtotime("May"))."\n"; echo gmdate('d-m-y H:i:s',strtotime("June"))."\n";
Output for 5.2.0 - 7.1.0
31-12-13 23:00:00 31-01-14 23:00:00 28-02-14 23:00:00 31-03-14 22:00:00 30-04-14 22:00:00 31-05-14 22:00:00
Output for 5.1.0 - 5.1.6
01-01-70 00:00:00 01-01-70 00:00:00 01-01-70 00:00:00 01-01-70 00:00:00 01-01-70 00:00:00 01-01-70 00:00:00
Output for 4.3.0 - 5.0.5
31-12-69 23:59:59 31-12-69 23:59:59 31-12-69 23:59:59 31-12-69 23:59:59 31-12-69 23:59:59 31-12-69 23:59:59