3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = (new DateTime())->format('Y-m-d H:i:s'); echo $t;
based on EABlV
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
2017-07-13 23:28:07
Output for hhvm-3.15.4
2017-07-13 23:28:08