3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('d-mm-yy H:i:s');
based on EABlV
Output for 5.6.28, 7.0.14 - 7.1.0
29-0909-1414 15:00:06
Output for 7.0.6
03-0505-1616 10:13:35
Output for 7.0.5
02-0404-1616 23:01:03
Output for 7.0.4
10-0303-1616 09:36:23
Output for 7.0.3
18-0303-1616 10:15:48
Output for 7.0.2
22-0303-1616 16:14:19
Output for 7.0.1
23-0303-1616 20:50:50
Output for 7.0.0
26-0303-1616 22:23:17
Output for 5.6.21
02-0505-1616 05:33:27
Output for 5.6.20
09-0404-1616 21:58:52
Output for 5.6.19
07-0303-1616 17:44:08
Output for 5.6.18
15-0303-1616 01:48:49
Output for 5.6.17
19-0303-1616 14:29:46
Output for 5.6.16
28-0303-1616 00:10:46
Output for 5.6.15
29-0303-1616 01:15:31
Output for 5.6.14
02-0404-1616 03:34:48
Output for 5.6.13
15-0404-1616 07:29:10
Output for 5.6.12
19-0404-1616 21:16:36
Output for 5.6.11
23-0404-1616 04:19:01
Output for 5.6.10
25-0404-1616 06:03:40
Output for 5.6.9
27-0404-1616 11:00:58
Output for 5.6.8
29-0404-1616 19:10:30
Output for 5.5.35
22-0505-1616 09:20:54
Output for 5.5.34
11-0404-1616 00:19:50
Output for 5.5.33
08-0303-1616 20:41:10
Output for 5.5.32
17-0303-1616 03:23:24
Output for 5.5.31
20-0303-1616 17:15:19
Output for 5.5.30
01-0404-1616 03:12:10
Output for 5.5.29
16-0404-1616 21:35:56
Output for 5.5.28
21-0404-1616 00:31:29
Output for 5.5.27
22-0404-1616 02:50:10
Output for 5.5.26
26-0404-1616 08:29:49
Output for 5.5.25
28-0404-1616 14:48:40
Output for 5.5.24
23-0505-1616 22:09:32
Output for 5.4.45
21-0909-1515 14:29:18
Output for 5.4.44
21-0909-1515 14:29:00
Output for 5.4.43
21-0909-1515 14:28:39
Output for 5.4.42
21-0909-1515 14:28:31
Output for 5.4.41
21-0909-1515 14:28:22
Output for 5.4.40
21-0909-1515 14:28:13
Output for 5.4.39
21-0909-1515 14:28:06
Output for 5.4.38
15-0303-1515 07:59:11
Output for 5.4.37
15-0303-1515 07:59:05
Output for 5.4.35 - 5.4.36
15-0303-1515 07:59:04
Output for 5.4.34
15-0303-1515 07:59:03
Output for 5.4.24 - 5.4.32
29-0909-1414 15:00:13
Output for 5.4.5 - 5.4.23
29-0909-1414 15:00:14
Output for 5.4.0 - 5.4.4
29-0909-1414 15:00:15
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/elOLN 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/elOLN on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/elOLN 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/elOLN on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/elOLN 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/elOLN on line 2 Parse error: parse error, expecting `','' or `';'' in /in/elOLN on line 2
Process exited with code 255.