3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? echo (new \DateTime())->format('Y-m-d H:i:s');
based on EABlV
Output for 5.6.28, 7.0.20 - 7.2.0
2015-11-10 19:13:17
Output for 7.0.6
2016-05-03 18:37:41
Output for 7.0.5
2016-04-03 07:02:30
Output for 7.0.4
2016-03-10 18:49:43
Output for 7.0.3
2016-03-18 19:59:12
Output for 7.0.2
2016-03-23 02:07:33
Output for 7.0.1
2016-03-24 05:45:01
Output for 7.0.0
2016-03-27 07:41:00
Output for 5.6.21
2016-05-02 13:46:51
Output for 5.6.20
2016-04-10 06:01:44
Output for 5.6.19
2016-03-08 03:01:31
Output for 5.6.18
2016-03-15 11:45:23
Output for 5.6.17
2016-03-19 23:24:22
Output for 5.6.16
2016-03-28 08:28:09
Output for 5.6.15
2016-03-29 09:19:05
Output for 5.6.14
2016-04-02 11:09:47
Output for 5.6.13
2016-04-15 15:34:35
Output for 5.6.12
2016-04-20 06:04:07
Output for 5.6.11
2016-04-24 12:27:09
Output for 5.6.10
2016-04-25 14:29:22
Output for 5.6.9
2016-04-27 19:39:13
Output for 5.6.8
2016-04-30 04:31:18
Output for 5.5.35
2016-05-22 21:15:25
Output for 5.5.34
2016-04-11 08:13:39
Output for 5.5.33
2016-03-09 05:46:05
Output for 5.5.32
2016-03-17 15:41:05
Output for 5.5.31
2016-03-21 02:26:43
Output for 5.5.30
2016-04-01 11:12:51
Output for 5.5.29
2016-04-17 05:57:46
Output for 5.5.28
2016-04-21 09:18:05
Output for 5.5.27
2016-04-22 11:04:13
Output for 5.5.26
2016-04-26 17:12:24
Output for 5.5.25
2016-04-29 00:08:01
Output for 5.5.24
2016-05-24 06:36:57
Output for 5.4.45
2015-11-10 19:13:19
Output for 5.4.43 - 5.4.44
2015-11-10 19:13:20
Output for 5.4.41 - 5.4.42
2015-11-10 19:13:21
Output for 5.4.39 - 5.4.40
2015-11-10 19:13:22
Output for 5.4.36 - 5.4.38
2015-11-10 19:13:23
Output for 5.4.34 - 5.4.35
2015-11-10 19:13:24
Output for 5.4.30 - 5.4.32
2015-11-10 19:13:25
Output for 5.4.25 - 5.4.29
2015-11-10 19:13:26
Output for 5.4.21 - 5.4.24
2015-11-10 19:13:27
Output for 5.4.18 - 5.4.20
2015-11-10 19:13:28
Output for 5.4.14 - 5.4.17
2015-11-10 19:13:29
Output for 5.4.9 - 5.4.13
2015-11-10 19:13:30
Output for 5.3.19 - 5.3.29
<? echo (new \DateTime())->format('Y-m-d H:i:s');