3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(gmdate(DateTime::RFC2822)); var_dump(gmdate('D, d M Y H:i:s'));
based on HJfEj
Output for 5.6.28, 7.0.20 - 7.2.0
string(31) "Thu, 10 Sep 2015 13:20:44 +0000" string(25) "Thu, 10 Sep 2015 13:20:44"
Output for 7.0.6
string(31) "Tue, 03 May 2016 01:22:45 +0000" string(25) "Tue, 03 May 2016 01:22:45"
Output for 7.0.5
string(31) "Sat, 02 Apr 2016 14:36:14 +0000" string(25) "Sat, 02 Apr 2016 14:36:14"
Output for 7.0.4
string(31) "Thu, 10 Mar 2016 01:14:51 +0000" string(25) "Thu, 10 Mar 2016 01:14:51"
Output for 7.0.3
string(31) "Fri, 18 Mar 2016 01:27:09 +0000" string(25) "Fri, 18 Mar 2016 01:27:09"
Output for 7.0.2
string(31) "Mon, 21 Mar 2016 12:00:09 +0000" string(25) "Mon, 21 Mar 2016 12:00:09"
Output for 7.0.1
string(31) "Wed, 23 Mar 2016 12:13:37 +0000" string(25) "Wed, 23 Mar 2016 12:13:37"
Output for 7.0.0
string(31) "Sat, 26 Mar 2016 14:37:13 +0000" string(25) "Sat, 26 Mar 2016 14:37:13"
Output for 5.6.21
string(31) "Sun, 01 May 2016 20:25:40 +0000" string(25) "Sun, 01 May 2016 20:25:40"
Output for 5.6.20
string(31) "Sat, 09 Apr 2016 09:49:16 +0000" string(25) "Sat, 09 Apr 2016 09:49:16"
Output for 5.6.19
string(31) "Sun, 06 Mar 2016 23:47:34 +0000" string(25) "Sun, 06 Mar 2016 23:47:34"
Output for 5.6.18
string(31) "Mon, 14 Mar 2016 11:52:37 +0000" string(25) "Mon, 14 Mar 2016 11:52:37"
Output for 5.6.17
string(31) "Sat, 19 Mar 2016 05:55:44 +0000" string(25) "Sat, 19 Mar 2016 05:55:44"
Output for 5.6.16
string(31) "Sun, 27 Mar 2016 15:22:35 +0000" string(25) "Sun, 27 Mar 2016 15:22:35"
Output for 5.6.15
string(31) "Mon, 28 Mar 2016 16:15:12 +0000" string(25) "Mon, 28 Mar 2016 16:15:12"
Output for 5.6.14
string(31) "Fri, 01 Apr 2016 18:51:05 +0000" string(25) "Fri, 01 Apr 2016 18:51:05"
Output for 5.6.13
string(31) "Thu, 14 Apr 2016 22:48:17 +0000" string(25) "Thu, 14 Apr 2016 22:48:17"
Output for 5.6.12
string(31) "Tue, 19 Apr 2016 11:52:30 +0000" string(25) "Tue, 19 Apr 2016 11:52:30"
Output for 5.6.11
string(31) "Fri, 22 Apr 2016 19:09:26 +0000" string(25) "Fri, 22 Apr 2016 19:09:26"
Output for 5.6.10
string(31) "Sun, 24 Apr 2016 20:47:32 +0000" string(25) "Sun, 24 Apr 2016 20:47:32"
Output for 5.6.9
string(31) "Wed, 27 Apr 2016 01:59:18 +0000" string(25) "Wed, 27 Apr 2016 01:59:18"
Output for 5.6.8
string(31) "Fri, 29 Apr 2016 09:42:36 +0000" string(25) "Fri, 29 Apr 2016 09:42:36"
Output for 5.6.7
string(31) "Tue, 24 May 2016 21:00:51 +0000" string(25) "Tue, 24 May 2016 21:00:51"
Output for 5.5.35
string(31) "Sat, 21 May 2016 23:49:53 +0000" string(25) "Sat, 21 May 2016 23:49:53"
Output for 5.5.34
string(31) "Sun, 10 Apr 2016 15:46:21 +0000" string(25) "Sun, 10 Apr 2016 15:46:21"
Output for 5.5.33
string(31) "Tue, 08 Mar 2016 12:06:49 +0000" string(25) "Tue, 08 Mar 2016 12:06:49"
Output for 5.5.32
string(31) "Wed, 16 Mar 2016 17:49:45 +0000" string(25) "Wed, 16 Mar 2016 17:49:45"
Output for 5.5.31
string(31) "Sun, 20 Mar 2016 08:47:44 +0000" string(25) "Sun, 20 Mar 2016 08:47:44"
Output for 5.5.30
string(31) "Thu, 31 Mar 2016 18:16:44 +0000" string(25) "Thu, 31 Mar 2016 18:16:44"
Output for 5.5.29
string(31) "Sat, 16 Apr 2016 12:49:01 +0000" string(25) "Sat, 16 Apr 2016 12:49:01"
Output for 5.5.28
string(31) "Wed, 20 Apr 2016 15:10:27 +0000" string(25) "Wed, 20 Apr 2016 15:10:27"
Output for 5.5.27
string(31) "Thu, 21 Apr 2016 17:38:16 +0000" string(25) "Thu, 21 Apr 2016 17:38:16"
Output for 5.5.26
string(31) "Mon, 25 Apr 2016 23:16:34 +0000" string(25) "Mon, 25 Apr 2016 23:16:34"
Output for 5.5.25
string(31) "Thu, 28 Apr 2016 05:17:15 +0000" string(25) "Thu, 28 Apr 2016 05:17:15"
Output for 5.5.24
string(31) "Sat, 30 Apr 2016 12:42:25 +0000" string(25) "Sat, 30 Apr 2016 12:42:25"
Output for 5.4.45
string(31) "Wed, 18 Nov 2015 08:23:21 +0000" string(25) "Wed, 18 Nov 2015 08:23:21"
Output for 5.4.44
string(31) "Wed, 18 Nov 2015 08:23:22 +0000" string(25) "Wed, 18 Nov 2015 08:23:22"
Output for 5.4.42 - 5.4.43
string(31) "Wed, 18 Nov 2015 08:23:23 +0000" string(25) "Wed, 18 Nov 2015 08:23:23"
Output for 5.4.41
string(31) "Wed, 18 Nov 2015 08:23:24 +0000" string(25) "Wed, 18 Nov 2015 08:23:24"
Output for 5.4.39 - 5.4.40
string(31) "Wed, 18 Nov 2015 08:23:25 +0000" string(25) "Wed, 18 Nov 2015 08:23:25"
Output for 5.4.37 - 5.4.38
string(31) "Wed, 18 Nov 2015 08:23:26 +0000" string(25) "Wed, 18 Nov 2015 08:23:26"
Output for 5.4.35 - 5.4.36
string(31) "Wed, 18 Nov 2015 08:23:27 +0000" string(25) "Wed, 18 Nov 2015 08:23:27"
Output for 5.4.32 - 5.4.34
string(31) "Wed, 18 Nov 2015 08:23:28 +0000" string(25) "Wed, 18 Nov 2015 08:23:28"
Output for 5.3.29, 5.4.29 - 5.4.31
string(31) "Wed, 18 Nov 2015 08:23:29 +0000" string(25) "Wed, 18 Nov 2015 08:23:29"
Output for 5.4.26 - 5.4.28
string(31) "Wed, 18 Nov 2015 08:23:30 +0000" string(25) "Wed, 18 Nov 2015 08:23:30"
Output for 5.3.28, 5.4.23 - 5.4.25
string(31) "Wed, 18 Nov 2015 08:23:31 +0000" string(25) "Wed, 18 Nov 2015 08:23:31"
Output for 5.4.20 - 5.4.22
string(31) "Wed, 18 Nov 2015 08:23:32 +0000" string(25) "Wed, 18 Nov 2015 08:23:32"
Output for 5.3.27, 5.4.18 - 5.4.19
string(31) "Wed, 18 Nov 2015 08:23:33 +0000" string(25) "Wed, 18 Nov 2015 08:23:33"
Output for 5.3.25 - 5.3.26, 5.4.14 - 5.4.17
string(31) "Wed, 18 Nov 2015 08:23:34 +0000" string(25) "Wed, 18 Nov 2015 08:23:34"
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.13
string(31) "Wed, 18 Nov 2015 08:23:35 +0000" string(25) "Wed, 18 Nov 2015 08:23:35"
Output for 5.3.17 - 5.3.20, 5.4.8 - 5.4.10
string(31) "Wed, 18 Nov 2015 08:23:36 +0000" string(25) "Wed, 18 Nov 2015 08:23:36"
Output for 5.4.7
string(31) "Wed, 18 Nov 2015 08:23:37 +0000" string(25) "Wed, 18 Nov 2015 08:23:37"