3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Ym-d H:i:s');
based on EABlV
Output for 5.5.0 - 5.6.38, hhvm-3.10.1 - 3.12.14, hhvm-3.18.5 - 3.19.2, hhvm-3.21.0, 7.0.0 - 7.3.0
201812-07 18:40:35
Output for hhvm-3.13.2 - 3.18.4, hhvm-3.20.2, hhvm-3.21.3 - 3.22.0
201812-07 18:40:36