3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('Y-m-d H:i');
based on kl5t8
Output for 5.6.28, 7.0.20 - 7.2.0
2016-07-06 04:10
Output for 5.5.0 - 5.6.23, 7.0.0 - 7.0.8
2015-11-27 15:32