3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-d-1 H:i:s');
based on EABlV
Output for 5.5.33, 5.6.19, 5.6.28, 7.0.4, 7.0.20 - 7.3.0rc3
2016-03-19-1 20:16:23
Output for 7.0.6
2016-05-21-1 17:40:11
Output for 7.0.5
2016-04-14-1 15:00:31
Output for 5.5.31 - 5.5.32, 5.6.17 - 5.6.18, 7.0.1 - 7.0.3
2016-03-19-1 20:16:24
Output for 5.5.29 - 5.5.30, 5.6.13 - 5.6.16, 7.0.0
2016-03-19-1 20:16:25
Output for 5.6.21
2016-05-02-1 19:59:49
Output for 5.6.20
2016-04-10-1 12:02:28
Output for 5.5.25 - 5.5.28, 5.6.9 - 5.6.12
2016-03-19-1 20:16:26
Output for 5.5.21 - 5.5.24, 5.6.5 - 5.6.8
2016-03-19-1 20:16:27
Output for 5.5.12 - 5.5.20, 5.6.0 - 5.6.4
2016-03-19-1 20:16:28
Output for 5.5.35
2016-05-23-1 08:23:34
Output for 5.5.34
2016-04-11-1 14:16:51
Output for 5.5.1 - 5.5.11
2016-03-19-1 20:16:29
Output for 5.5.0
2016-03-19-1 20:16:30