3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d H:i:s', 1234567890); echo "<br />\n"; echo date('Y-m-d H:i:s', strtotime(1234567890 . '+5 minutes'));
Output for 5.2.6 - 7.1.0
2009-02-14 00:31:30<br /> 7890-03-16 12:39:56
Output for 5.1.0 - 5.2.5
2009-02-14 00:31:30<br /> 1970-01-01 01:00:00
Output for 5.0.0 - 5.0.5
2009-02-14 00:31:30<br /> 1234567889-07-01 00:01:00
Output for 4.3.0 - 4.4.9
2009-02-14 00:31:30<br /> 1970-01-01 00:59:59