3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('D-m-Y H:i:s');
based on EABlV
Output for 5.6.28, 7.0.14 - 7.1.0
Wed-09-2014 21:57:33
Output for 7.0.6
Tue-05-2016 08:21:57
Output for 7.0.5
Sat-04-2016 21:18:30
Output for 7.0.4
Thu-03-2016 07:37:27
Output for 7.0.3
Fri-03-2016 08:10:45
Output for 7.0.2
Tue-03-2016 13:56:03
Output for 7.0.1
Wed-03-2016 18:58:29
Output for 7.0.0
Sat-03-2016 20:35:05
Output for hhvm-3.12.0
Tue-03-2016 02:22:54
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
Mon-05-2016 03:41:59
Output for 5.6.20
Sat-04-2016 20:11:20
Output for 5.6.19
Mon-03-2016 15:44:34
Output for 5.6.18
Mon-03-2016 23:30:36
Output for 5.6.17
Sat-03-2016 12:29:03
Output for 5.6.16
Sun-03-2016 22:20:58
Output for 5.6.15
Mon-03-2016 23:13:53
Output for 5.6.14
Sat-04-2016 01:47:45
Output for 5.6.13
Fri-04-2016 05:43:16
Output for 5.6.12
Tue-04-2016 19:21:20
Output for 5.6.11
Sat-04-2016 02:22:16
Output for 5.6.10
Mon-04-2016 04:11:27
Output for 5.6.9
Wed-04-2016 09:08:52
Output for 5.6.8
Fri-04-2016 17:10:13
Output for 5.6.7
Wed-05-2016 11:56:21
Output for 5.5.35
Sun-05-2016 07:23:53
Output for 5.5.34
Sun-04-2016 22:35:08
Output for 5.5.33
Tue-03-2016 18:33:42
Output for 5.5.32
Thu-03-2016 01:21:55
Output for 5.5.31
Sun-03-2016 15:15:46
Output for 5.5.30
Fri-04-2016 01:22:06
Output for 5.5.29
Sat-04-2016 19:48:25
Output for 5.5.28
Wed-04-2016 22:27:15
Output for 5.5.27
Fri-04-2016 00:57:51
Output for 5.5.26
Tue-04-2016 06:37:08
Output for 5.5.25
Thu-04-2016 12:40:46
Output for 5.5.24
Mon-05-2016 19:36:56
Output for 5.4.45
Fri-11-2015 21:30:39
Output for 5.4.44
Fri-11-2015 21:30:40
Output for 5.4.42 - 5.4.43
Fri-11-2015 21:30:41
Output for 5.4.41
Fri-11-2015 21:30:42
Output for 5.4.39 - 5.4.40
Fri-11-2015 21:30:43
Output for 5.4.36 - 5.4.38
Fri-11-2015 21:30:44
Output for 5.4.35
Fri-11-2015 21:30:45
Output for 5.4.32 - 5.4.34
Fri-11-2015 21:30:46
Output for 5.4.29 - 5.4.31
Fri-11-2015 21:30:47
Output for 5.4.25 - 5.4.28
Fri-11-2015 21:30:48
Output for 5.4.23 - 5.4.24
Fri-11-2015 21:30:49
Output for 5.4.19 - 5.4.22
Fri-11-2015 21:30:50
Output for 5.4.16 - 5.4.18
Fri-11-2015 21:30:51
Output for 5.4.13 - 5.4.15
Fri-11-2015 21:30:52
Output for 5.4.10 - 5.4.12
Fri-11-2015 21:30:53
Output for 5.4.6 - 5.4.9
Fri-11-2015 21:30:54
Output for 5.4.3 - 5.4.5
Fri-11-2015 21:30:55
Output for 5.4.0 - 5.4.2
Fri-11-2015 21:30:56
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/oWdfe 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/oWdfe on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/oWdfe 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/oWdfe on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/oWdfe 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/oWdfe on line 2 Parse error: parse error, expecting `','' or `';'' in /in/oWdfe on line 2
Process exited with code 255.