3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('d.m.Y h:i:s');
Output for 5.6.28, 7.0.14 - 7.1.0
30.04.2014 02:56:16
Output for 7.0.6
03.05.2016 02:31:52
Output for 7.0.5
02.04.2016 03:48:28
Output for 7.0.4
10.03.2016 01:19:29
Output for 7.0.3
18.03.2016 01:29:33
Output for 7.0.2
21.03.2016 12:04:18
Output for 7.0.1
23.03.2016 12:17:13
Output for 7.0.0
26.03.2016 02:45:32
Output for 5.6.21
01.05.2016 09:34:13
Output for 5.6.20
09.04.2016 11:00:38
Output for 5.6.19
06.03.2016 11:35:51
Output for 5.6.18
14.03.2016 11:52:07
Output for 5.6.17
19.03.2016 05:58:16
Output for 5.6.16
27.03.2016 04:30:29
Output for 5.6.15
28.03.2016 05:24:06
Output for 5.6.14
01.04.2016 08:02:05
Output for 5.6.13
14.04.2016 11:50:11
Output for 5.6.12
19.04.2016 12:59:41
Output for 5.6.11
22.04.2016 08:16:05
Output for 5.6.10
24.04.2016 09:55:49
Output for 5.6.9
27.04.2016 03:05:58
Output for 5.6.8
29.04.2016 10:40:35
Output for 5.6.7
24.05.2016 09:29:17
Output for 5.5.35
22.05.2016 12:56:40
Output for 5.5.34
10.04.2016 04:56:44
Output for 5.5.33
08.03.2016 12:10:37
Output for 5.5.32
16.03.2016 05:52:11
Output for 5.5.31
20.03.2016 08:51:01
Output for 5.5.30
31.03.2016 07:25:38
Output for 5.5.29
16.04.2016 01:57:32
Output for 5.5.28
20.04.2016 04:16:12
Output for 5.5.27
21.04.2016 06:47:01
Output for 5.5.26
26.04.2016 12:14:41
Output for 5.5.25
28.04.2016 06:22:37
Output for 5.5.24
30.04.2016 01:52:50
Output for 5.4.45
20.09.2015 11:21:13
Output for 5.4.44
20.09.2015 11:21:08
Output for 5.4.43
20.09.2015 11:21:03
Output for 5.4.42
20.09.2015 11:21:02
Output for 5.4.41
15.05.2015 04:13:07
Output for 5.4.40
15.05.2015 04:13:02
Output for 5.4.39
15.05.2015 04:13:01
Output for 5.4.38
03.03.2015 12:50:39
Output for 5.4.36 - 5.4.37
09.02.2015 09:17:15
Output for 5.4.34 - 5.4.35
09.02.2015 09:17:14
Output for 5.4.32
09.09.2014 07:43:23
Output for 5.4.31
09.09.2014 07:43:20
Output for 5.4.29 - 5.4.30
09.09.2014 07:43:14
Output for 5.4.28
09.09.2014 07:43:13
Output for 5.4.24 - 5.4.27
30.04.2014 02:56:17
Output for 5.4.8 - 5.4.23
30.04.2014 02:56:18
Output for 5.4.0 - 5.4.7
30.04.2014 02:56:19
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/GrGU1 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/GrGU1 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/GrGU1 on line 2
Process exited with code 255.