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.6.28, 7.0.20 - 7.2.0
2016-01-12 16:25:182015-06-26 17:25:18
Output for 5.5.0 - 5.6.23, 7.0.0 - 7.0.8
2016-01-12 16:25:172015-06-26 17:25:17