3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('d-m-yyyy H:i:s');
based on elOLN
Output for 5.6.28, 7.0.14 - 7.1.0
29-09-14141414 15:00:28
Output for 7.0.6
03-05-16161616 10:13:32
Output for 7.0.5
02-04-16161616 23:01:01
Output for 7.0.4
10-03-16161616 09:36:20
Output for 7.0.3
18-03-16161616 10:15:45
Output for 7.0.2
22-03-16161616 16:14:16
Output for 7.0.1
23-03-16161616 20:50:47
Output for 7.0.0
26-03-16161616 22:23:14
Output for hhvm-3.12.0
12-03-16161616 12:48:02
Output for hhvm-3.10.0
30-03-16161616 11:54:49
Output for 5.6.21
02-05-16161616 05:33:24
Output for 5.6.20
09-04-16161616 21:58:49
Output for 5.6.19
07-03-16161616 17:44:05
Output for 5.6.18
15-03-16161616 01:48:45
Output for 5.6.17
19-03-16161616 14:29:42
Output for 5.6.16
28-03-16161616 00:10:42
Output for 5.6.15
29-03-16161616 01:15:28
Output for 5.6.14
02-04-16161616 03:34:45
Output for 5.6.13
15-04-16161616 07:29:02
Output for 5.6.12
19-04-16161616 21:16:33
Output for 5.6.11
23-04-16161616 04:18:59
Output for 5.6.10
25-04-16161616 06:03:37
Output for 5.6.9
27-04-16161616 11:00:54
Output for 5.6.8
29-04-16161616 19:10:27
Output for 5.5.35
22-05-16161616 09:20:51
Output for 5.5.34
11-04-16161616 00:19:47
Output for 5.5.33
08-03-16161616 20:41:07
Output for 5.5.32
17-03-16161616 03:23:21
Output for 5.5.31
20-03-16161616 17:15:16
Output for 5.5.30
01-04-16161616 03:12:07
Output for 5.5.29
16-04-16161616 21:35:53
Output for 5.5.28
21-04-16161616 00:31:26
Output for 5.5.27
22-04-16161616 02:50:08
Output for 5.5.26
26-04-16161616 08:29:46
Output for 5.5.25
28-04-16161616 14:48:37
Output for 5.5.24
23-05-16161616 22:09:29
Output for 5.4.45
21-09-15151515 14:29:15
Output for 5.4.44
21-09-15151515 14:28:56
Output for 5.4.43
21-09-15151515 14:28:37
Output for 5.4.42
21-09-15151515 14:28:30
Output for 5.4.41
21-09-15151515 14:28:21
Output for 5.4.40
21-09-15151515 14:28:13
Output for 5.4.39
21-09-15151515 14:28:07
Output for 5.4.38
15-03-15151515 07:59:30
Output for 5.4.35 - 5.4.37
15-03-15151515 07:59:23
Output for 5.4.34
15-03-15151515 07:59:22
Output for 5.4.25 - 5.4.32
29-09-14141414 15:00:32
Output for 5.4.3 - 5.4.24
29-09-14141414 15:00:33
Output for 5.4.0 - 5.4.2
29-09-14141414 15:00:34
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/jiOpg on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/jiOpg on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/jiOpg 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
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/jiOpg on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/jiOpg on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/jiOpg on line 2 Parse error: parse error, expecting `','' or `';'' in /in/jiOpg on line 2
Process exited with code 255.