3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i:s"); echo date("Y-m-d H:i:s", time()-17280000);
based on nCv99
Output for 5.5.0 - 7.0.6, 7.0.8 - 7.1.17, 7.1.19 - 7.3.1
2016-01-12 16:25:182015-06-26 17:25:18
Output for 7.1.18
2016-01-12 16:25:192015-06-26 17:25:19
Output for 7.0.7
2016-01-12 16:25:182015-06-26 17:25:19