3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $datetime = new DateTime; echo $datetime->format(DateTime::RFC850) . PHP_EOL;
based on lMVUW
Output for 5.6.28, 7.0.14 - 7.1.0
Monday, 20-Oct-14 19:05:48 CEST
Output for 7.0.6
Tuesday, 03-May-16 10:29:00 CEST
Output for 7.0.5
Saturday, 02-Apr-16 23:14:36 CEST
Output for 7.0.4
Thursday, 10-Mar-16 09:51:37 CET
Output for 7.0.3
Friday, 18-Mar-16 10:31:45 CET
Output for 7.0.2
Tuesday, 22-Mar-16 16:30:07 CET
Output for 7.0.1
Wednesday, 23-Mar-16 21:05:08 CET
Output for 7.0.0
Saturday, 26-Mar-16 22:37:16 CET
Output for hhvm-3.12.0
Saturday, 12-Mar-16 13:19:25 CET
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
Monday, 02-May-16 05:48:10 CEST
Output for 5.6.20
Saturday, 09-Apr-16 22:14:23 CEST
Output for 5.6.19
Monday, 07-Mar-16 17:58:46 CET
Output for 5.6.18
Tuesday, 15-Mar-16 02:05:55 CET
Output for 5.6.17
Saturday, 19-Mar-16 14:45:12 CET
Output for 5.6.16
Monday, 28-Mar-16 00:34:33 CEST
Output for 5.6.15
Tuesday, 29-Mar-16 01:29:48 CEST
Output for 5.6.14
Saturday, 02-Apr-16 03:48:35 CEST
Output for 5.6.13
Friday, 15-Apr-16 07:43:10 CEST
Output for 5.6.12
Tuesday, 19-Apr-16 21:31:42 CEST
Output for 5.6.11
Saturday, 23-Apr-16 04:33:29 CEST
Output for 5.6.10
Monday, 25-Apr-16 06:18:20 CEST
Output for 5.6.9
Wednesday, 27-Apr-16 11:17:23 CEST
Output for 5.6.8
Friday, 29-Apr-16 19:26:08 CEST
Output for 5.5.35
Sunday, 22-May-16 09:36:03 CEST
Output for 5.5.34
Monday, 11-Apr-16 00:34:49 CEST
Output for 5.5.33
Tuesday, 08-Mar-16 20:55:43 CET
Output for 5.5.32
Thursday, 17-Mar-16 03:39:12 CET
Output for 5.5.31
Sunday, 20-Mar-16 17:30:18 CET
Output for 5.5.30
Friday, 01-Apr-16 03:26:33 CEST
Output for 5.5.29
Saturday, 16-Apr-16 21:50:28 CEST
Output for 5.5.28
Thursday, 21-Apr-16 00:48:00 CEST
Output for 5.5.27
Friday, 22-Apr-16 03:05:43 CEST
Output for 5.5.26
Tuesday, 26-Apr-16 08:45:13 CEST
Output for 5.5.25
Thursday, 28-Apr-16 15:09:41 CEST
Output for 5.5.24
Monday, 23-May-16 22:23:59 CEST
Output for 5.4.45
Monday, 21-Sep-15 15:14:29 CEST
Output for 5.4.44
Monday, 21-Sep-15 15:14:23 CEST
Output for 5.4.43
Monday, 21-Sep-15 15:14:18 CEST
Output for 5.4.42
Thursday, 09-Jul-15 11:59:54 CEST
Output for 5.4.41
Thursday, 09-Jul-15 11:59:53 CEST
Output for 5.4.39 - 5.4.40
Thursday, 09-Jul-15 11:59:48 CEST
Output for 5.4.38
Thursday, 09-Jul-15 11:59:47 CEST
Output for 5.4.37
Thursday, 09-Jul-15 11:59:45 CEST
Output for 5.4.35 - 5.4.36
Thursday, 09-Jul-15 11:59:44 CEST
Output for 5.4.12 - 5.4.34
Monday, 20-Oct-14 19:05:53 CEST
Output for 5.3.20 - 5.4.11
Monday, 20-Oct-14 19:05:54 CEST
Output for 5.2.16 - 5.3.19
Monday, 20-Oct-14 19:05:55 CEST
Output for 5.2.0 - 5.2.15
Monday, 20-Oct-14 19:05:56 CEST
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/lcPBr on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected ')', expecting '(' in /in/lcPBr on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected ')', expecting '(' in /in/lcPBr on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'('' in /in/lcPBr on line 3
Process exited with code 255.