3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('d/m/Y H:i:s');
based on 6kc1I
Output for 5.6.28, 7.0.14 - 7.1.0
12/09/2014 18:57:46
Output for 7.0.6
03/05/2016 10:04:04
Output for 7.0.5
02/04/2016 22:52:30
Output for 7.0.4
10/03/2016 09:27:07
Output for 7.0.3
18/03/2016 10:05:32
Output for 7.0.2
22/03/2016 15:58:46
Output for 7.0.1
23/03/2016 20:41:56
Output for 7.0.0
26/03/2016 22:14:28
Output for hhvm-3.12.0
12/03/2016 12:21:32
Output for hhvm-3.10.0
30/03/2016 11:41:24
Output for 5.6.21
02/05/2016 05:23:57
Output for 5.6.20
09/04/2016 21:49:58
Output for 5.6.19
07/03/2016 17:34:49
Output for 5.6.18
15/03/2016 01:38:25
Output for 5.6.17
19/03/2016 14:19:59
Output for 5.6.16
28/03/2016 00:00:03
Output for 5.6.15
29/03/2016 01:06:18
Output for 5.6.14
02/04/2016 03:26:02
Output for 5.6.13
15/04/2016 07:20:05
Output for 5.6.12
19/04/2016 21:06:41
Output for 5.6.11
23/04/2016 04:09:47
Output for 5.6.10
25/04/2016 05:53:31
Output for 5.6.9
27/04/2016 10:51:27
Output for 5.6.8
29/04/2016 18:58:34
Output for 5.5.35
22/05/2016 09:11:23
Output for 5.5.34
11/04/2016 00:10:57
Output for 5.5.33
08/03/2016 20:31:44
Output for 5.5.32
17/03/2016 03:13:30
Output for 5.5.31
20/03/2016 17:05:41
Output for 5.5.30
01/04/2016 03:01:36
Output for 5.5.29
16/04/2016 21:26:19
Output for 5.5.28
21/04/2016 00:13:03
Output for 5.5.27
22/04/2016 02:40:26
Output for 5.5.26
26/04/2016 08:20:12
Output for 5.5.25
28/04/2016 14:38:33
Output for 5.5.24
24/05/2016 15:43:33
Output for 5.4.45
21/09/2015 13:38:38
Output for 5.4.44
21/09/2015 13:38:33
Output for 5.4.43
21/09/2015 13:38:27
Output for 5.4.42
21/09/2015 13:38:25
Output for 5.4.41
21/09/2015 13:38:22
Output for 5.4.40
21/09/2015 13:38:19
Output for 5.4.39
21/09/2015 13:38:16
Output for 5.4.38
14/03/2015 13:45:47
Output for 5.4.36 - 5.4.37
14/03/2015 13:45:40
Output for 5.4.34 - 5.4.35
14/03/2015 13:45:39
Output for 5.4.24 - 5.4.32
12/09/2014 18:57:50
Output for 5.4.2 - 5.4.23
12/09/2014 18:57:51
Output for 5.4.0 - 5.4.1
12/09/2014 18:57:52
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/pDaSV 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/pDaSV on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/pDaSV on line 2
Process exited with code 255.