3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = new DateTime(null, new DateTimeZone('UTC')); echo $x->format('Y.m.d H:i:s');
Output for 5.6.28, 7.0.12 - 7.1.0
2013.05.07 09:59:09
Output for 7.0.6
2016.05.21 16:45:37
Output for 7.0.5
2016.04.14 14:03:39
Output for 7.0.4
2016.03.10 00:47:28
Output for 7.0.3
2016.03.18 00:58:30
Output for 7.0.2
2016.03.21 11:32:33
Output for 7.0.1
2016.03.23 11:45:44
Output for 7.0.0
2016.03.26 14:11:25
Output for hhvm-3.12.0
2016.03.30 06:38:37
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
2016.05.02 19:00:34
Output for 5.6.20
2016.04.10 10:59:57
Output for 5.6.19
2016.03.06 23:18:42
Output for 5.6.18
2016.03.14 11:24:41
Output for 5.6.17
2016.03.19 05:26:37
Output for 5.6.16
2016.03.27 14:55:23
Output for 5.6.15
2016.03.28 15:48:47
Output for 5.6.14
2016.04.14 18:47:50
Output for 5.6.13
2016.04.15 19:35:15
Output for 5.6.12
2016.04.20 10:36:53
Output for 5.6.11
2016.04.24 16:32:04
Output for 5.6.10
2016.04.25 18:39:32
Output for 5.6.9
2016.04.28 00:37:50
Output for 5.6.8
2016.04.30 08:25:52
Output for 5.5.35
2016.05.23 07:45:18
Output for 5.5.34
2016.04.11 13:16:41
Output for 5.5.33
2016.03.08 11:37:55
Output for 5.5.32
2016.03.16 17:20:09
Output for 5.5.31
2016.03.20 08:19:07
Output for 5.5.30
2016.04.01 14:55:08
Output for 5.5.29
2016.04.17 09:45:11
Output for 5.5.28
2016.04.21 13:26:32
Output for 5.5.27
2016.04.22 14:57:36
Output for 5.5.26
2016.04.26 21:21:34
Output for 5.5.25
2016.04.29 04:55:53
Output for 5.5.24
2016.05.24 12:04:00
Output for 5.4.45
2016.02.18 20:39:59
Output for 5.4.43 - 5.4.44
2016.02.18 20:40:00
Output for 5.4.41 - 5.4.42
2016.02.18 20:40:01
Output for 5.4.38 - 5.4.40
2016.02.18 20:40:02
Output for 5.4.36 - 5.4.37
2016.02.18 20:40:03
Output for 5.4.32 - 5.4.35
2016.02.18 20:40:04
Output for 5.3.29, 5.4.28 - 5.4.31
2016.02.18 20:40:05
Output for 5.4.23 - 5.4.27
2016.02.18 20:40:06
Output for 5.3.28, 5.4.19 - 5.4.22
2016.02.18 20:40:07
Output for 5.3.25 - 5.3.27, 5.4.16 - 5.4.18
2016.02.18 20:40:08
Output for 5.3.21 - 5.3.24, 5.4.12 - 5.4.15
2016.02.18 20:40:09
Output for 5.3.18 - 5.3.20, 5.4.8 - 5.4.11
2016.02.18 20:40:10
Output for 5.3.14 - 5.3.17, 5.4.5 - 5.4.7
2016.02.18 20:40:11
Output for 5.3.11 - 5.3.13, 5.4.1 - 5.4.4
2016.02.18 20:40:12
Output for 5.2.17, 5.3.5 - 5.3.10, 5.4.0
2016.02.18 20:40:13
Output for 5.2.13 - 5.2.16, 5.3.2 - 5.3.4
2016.02.18 20:40:14
Output for 5.2.7 - 5.2.12, 5.3.0 - 5.3.1
2016.02.18 20:40:15
Output for 5.2.2 - 5.2.6
2016.02.18 20:40:16
Output for 5.2.0 - 5.2.1
2016.02.18 20:40:17
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/KUGit on line 1
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/KUGit on line 1
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/KUGit on line 1