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-55-53
Output for 7.0.6
03-05-2016 08-18-42
Output for 7.0.5
02-04-2016 09-15-20
Output for 7.0.4
10-03-2016 07-33-49
Output for 7.0.3
18-03-2016 08-07-00
Output for 7.0.2
22-03-2016 01-52-16
Output for 7.0.1
23-03-2016 06-54-17
Output for 7.0.0
26-03-2016 08-31-52
Output for hhvm-3.12.0
26-03-2016 02-58-48
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
02-05-2016 03-38-36
Output for 5.6.20
09-04-2016 08-07-53
Output for 5.6.19
07-03-2016 03-40-52
Output for 5.6.18
14-03-2016 11-26-52
Output for 5.6.17
19-03-2016 12-25-18
Output for 5.6.16
27-03-2016 10-17-47
Output for 5.6.15
28-03-2016 11-10-37
Output for 5.6.14
02-04-2016 01-44-33
Output for 5.6.13
15-04-2016 05-39-58
Output for 5.6.12
19-04-2016 07-17-51
Output for 5.6.11
23-04-2016 02-18-30
Output for 5.6.10
25-04-2016 04-07-53
Output for 5.6.9
27-04-2016 09-05-26
Output for 5.6.8
29-04-2016 05-06-20
Output for 5.6.7
25-05-2016 11-45-46
Output for 5.5.35
22-05-2016 07-20-13
Output for 5.5.34
10-04-2016 10-31-56
Output for 5.5.33
08-03-2016 06-30-01
Output for 5.5.32
17-03-2016 01-18-06
Output for 5.5.31
20-03-2016 03-12-02
Output for 5.5.30
01-04-2016 01-18-48
Output for 5.5.29
16-04-2016 07-45-03
Output for 5.5.28
20-04-2016 10-23-33
Output for 5.5.27
22-04-2016 12-54-26
Output for 5.5.26
26-04-2016 06-33-43
Output for 5.5.25
28-04-2016 12-37-18
Output for 5.5.24
23-05-2016 07-33-10
Output for 5.4.45
09-09-2015 01-58-08
Output for 5.4.44
27-08-2015 09-02-40
Output for 5.4.43
11-07-2015 03-18-21
Output for 5.4.42
29-06-2015 02-58-30
Output for 5.4.41
10-06-2015 09-56-05
Output for 5.4.39 - 5.4.40
10-06-2015 09-56-00
Output for 5.4.38
10-06-2015 09-55-58
Output for 5.4.35 - 5.4.37
09-02-2015 09-17-11
Output for 5.4.34
09-02-2015 09-17-10
Output for 5.4.32
09-09-2014 07-43-10
Output for 5.4.31
09-09-2014 07-43-06
Output for 5.4.29 - 5.4.30
09-09-2014 07-42-58
Output for 5.4.28
09-09-2014 07-42-57
Output for 5.4.24 - 5.4.27
30-04-2014 02-55-54
Output for 5.4.2 - 5.4.23
30-04-2014 02-55-55
Output for 5.4.0 - 5.4.1
30-04-2014 02-55-56
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/FRlAR 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/FRlAR on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/FRlAR on line 2
Process exited with code 255.