3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime)->format("G:i:s:u");
based on Z3gSb
Output for 7.1.0
2:11:51:003929
Output for 5.6.28, 7.0.14
2:11:51:000000
Output for 7.0.6
10:27:54:000000
Output for 7.0.5
23:13:34:000000
Output for 7.0.4
9:50:17:000000
Output for 7.0.3
10:30:27:000000
Output for 7.0.2
16:28:56:000000
Output for 7.0.1
21:04:02:000000
Output for 7.0.0
22:36:13:000000
Output for hhvm-3.12.0
13:17:12:000000
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
5:47:06:000000
Output for 5.6.20
22:13:17:000000
Output for 5.6.19
17:57:37:000000
Output for 5.6.18
2:04:36:000000
Output for 5.6.17
14:44:01:000000
Output for 5.6.16
0:33:26:000000
Output for 5.6.15
1:28:41:000000
Output for 5.6.14
3:47:31:000000
Output for 5.6.13
7:42:02:000000
Output for 5.6.12
21:30:28:000000
Output for 5.6.11
4:32:25:000000
Output for 5.6.10
6:17:11:000000
Output for 5.6.9
11:16:19:000000
Output for 5.6.8
19:24:52:000000
Output for 5.5.35
9:34:50:000000
Output for 5.5.34
0:33:40:000000
Output for 5.5.33
20:54:37:000000
Output for 5.5.32
3:38:00:000000
Output for 5.5.31
17:29:10:000000
Output for 5.5.30
3:25:28:000000
Output for 5.5.29
21:49:17:000000
Output for 5.5.28
0:46:42:000000
Output for 5.5.27
3:04:22:000000
Output for 5.5.26
8:43:58:000000
Output for 5.5.25
15:08:20:000000
Output for 5.5.24
22:22:47:000000
Output for 5.4.45
15:35:56:000000
Output for 5.4.44
15:35:52:000000
Output for 5.4.43
15:35:48:000000
Output for 5.4.42
10:35:16:000000
Output for 5.4.41
10:35:14:000000
Output for 5.4.39 - 5.4.40
10:35:09:000000
Output for 5.4.38
10:35:08:000000
Output for 5.4.35 - 5.4.37
10:35:05:000000
Output for 5.4.32 - 5.4.34
2:11:55:000000
Output for 5.4.10 - 5.4.31
2:11:56:000000
Output for 5.4.0 - 5.4.9
2:11:57:000000
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/IjbZ1 on line 3
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/IjbZ1 on line 3 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/IjbZ1 on line 3
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/IjbZ1 on line 3 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/IjbZ1 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/IjbZ1 on line 3 Parse error: parse error, expecting `','' or `';'' in /in/IjbZ1 on line 3
Process exited with code 255.