3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d=new DateTime; var_dump($d->format(DATE_RFC2822));
based on 8gNo2
Output for 5.6.28, 7.0.20 - 7.2.0
string(31) "Thu, 01 Oct 2015 12:42:58 +0200"
Output for 7.0.6
string(31) "Tue, 03 May 2016 05:36:38 +0200"
Output for 7.0.5
string(31) "Sat, 02 Apr 2016 18:42:40 +0200"
Output for 7.0.4
string(31) "Thu, 10 Mar 2016 04:37:38 +0100"
Output for 7.0.3
string(31) "Fri, 18 Mar 2016 04:58:50 +0100"
Output for 7.0.2
string(31) "Mon, 21 Mar 2016 15:26:47 +0100"
Output for 7.0.1
string(31) "Wed, 23 Mar 2016 16:02:41 +0100"
Output for 7.0.0
string(31) "Sat, 26 Mar 2016 17:50:12 +0100"
Output for 5.6.21
string(31) "Mon, 02 May 2016 00:40:26 +0200"
Output for 5.6.20
string(31) "Sat, 09 Apr 2016 13:57:28 +0200"
Output for 5.6.19
string(31) "Mon, 07 Mar 2016 04:20:11 +0100"
Output for 5.6.18
string(31) "Mon, 14 Mar 2016 17:39:14 +0100"
Output for 5.6.17
string(31) "Sat, 19 Mar 2016 09:22:57 +0100"
Output for 5.6.16
string(31) "Sun, 27 Mar 2016 19:36:29 +0200"
Output for 5.6.15
string(31) "Mon, 28 Mar 2016 20:29:25 +0200"
Output for 5.6.14
string(31) "Fri, 01 Apr 2016 23:00:21 +0200"
Output for 5.6.13
string(31) "Fri, 15 Apr 2016 03:01:19 +0200"
Output for 5.6.12
string(31) "Tue, 19 Apr 2016 16:29:40 +0200"
Output for 5.6.11
string(31) "Fri, 22 Apr 2016 23:25:46 +0200"
Output for 5.6.10
string(31) "Mon, 25 Apr 2016 01:17:44 +0200"
Output for 5.6.9
string(31) "Wed, 27 Apr 2016 06:18:24 +0200"
Output for 5.6.8
string(31) "Fri, 29 Apr 2016 14:09:35 +0200"
Output for 5.6.7
string(31) "Wed, 25 May 2016 03:42:40 +0200"
Output for 5.5.35
string(31) "Sun, 22 May 2016 04:28:35 +0200"
Output for 5.5.34
string(31) "Sun, 10 Apr 2016 19:55:35 +0200"
Output for 5.5.33
string(31) "Tue, 08 Mar 2016 15:33:48 +0100"
Output for 5.5.32
string(31) "Wed, 16 Mar 2016 21:24:15 +0100"
Output for 5.5.31
string(31) "Sun, 20 Mar 2016 12:13:46 +0100"
Output for 5.5.30
string(31) "Thu, 31 Mar 2016 22:30:46 +0200"
Output for 5.5.29
string(31) "Sat, 16 Apr 2016 17:07:13 +0200"
Output for 5.5.28
string(31) "Wed, 20 Apr 2016 19:32:13 +0200"
Output for 5.5.27
string(31) "Thu, 21 Apr 2016 21:51:22 +0200"
Output for 5.5.26
string(31) "Tue, 26 Apr 2016 03:41:36 +0200"
Output for 5.5.25
string(31) "Thu, 28 Apr 2016 09:38:05 +0200"
Output for 5.5.24
string(31) "Mon, 23 May 2016 16:31:06 +0200"
Output for 5.4.45
string(31) "Sat, 07 Nov 2015 13:42:51 +0100"
Output for 5.4.43 - 5.4.44
string(31) "Sat, 07 Nov 2015 13:42:52 +0100"
Output for 5.4.41 - 5.4.42
string(31) "Sat, 07 Nov 2015 13:42:53 +0100"
Output for 5.4.39 - 5.4.40
string(31) "Sat, 07 Nov 2015 13:42:54 +0100"
Output for 5.4.36 - 5.4.38
string(31) "Sat, 07 Nov 2015 13:42:55 +0100"
Output for 5.4.34 - 5.4.35
string(31) "Sat, 07 Nov 2015 13:42:56 +0100"
Output for 5.4.31 - 5.4.32
string(31) "Sat, 07 Nov 2015 13:42:57 +0100"
Output for 5.4.29 - 5.4.30
string(31) "Sat, 07 Nov 2015 13:42:58 +0100"
Output for 5.4.26 - 5.4.28
string(31) "Sat, 07 Nov 2015 13:42:59 +0100"
Output for 5.4.24 - 5.4.25
string(31) "Sat, 07 Nov 2015 13:43:00 +0100"
Output for 5.4.22 - 5.4.23
string(31) "Sat, 07 Nov 2015 13:43:01 +0100"
Output for 5.4.19 - 5.4.21
string(31) "Sat, 07 Nov 2015 13:43:02 +0100"
Output for 5.4.17 - 5.4.18
string(31) "Sat, 07 Nov 2015 13:43:03 +0100"
Output for 5.4.14 - 5.4.16
string(31) "Sat, 07 Nov 2015 13:43:04 +0100"
Output for 5.4.12 - 5.4.13
string(31) "Sat, 07 Nov 2015 13:43:05 +0100"
Output for 5.4.9 - 5.4.11
string(31) "Sat, 07 Nov 2015 13:43:06 +0100"
Output for 5.3.29 - 5.4.8
string(31) "Sat, 07 Nov 2015 13:43:07 +0100"
Output for 5.3.27 - 5.3.28
string(31) "Sat, 07 Nov 2015 13:43:08 +0100"
Output for 5.3.25 - 5.3.26
string(31) "Sat, 07 Nov 2015 13:43:09 +0100"
Output for 5.3.22 - 5.3.24
string(31) "Sat, 07 Nov 2015 13:43:10 +0100"
Output for 5.3.20 - 5.3.21
string(31) "Sat, 07 Nov 2015 13:43:11 +0100"
Output for 5.3.18 - 5.3.19
string(31) "Sat, 07 Nov 2015 13:43:12 +0100"