3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(gmdate('r')); setlocale(LC_ALL, 'nl_NL'); var_dump(gmdate('r')); setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); var_dump(gmdate('r'));
based on qdqeY
Output for 5.6.28, 7.0.14 - 7.1.0
string(31) "Mon, 27 Oct 2014 16:55:43 +0000" string(31) "Mon, 27 Oct 2014 16:55:43 +0000" string(31) "Mon, 27 Oct 2014 16:55:43 +0000"
Output for 7.0.6
string(31) "Tue, 03 May 2016 08:36:04 +0000" string(31) "Tue, 03 May 2016 08:36:04 +0000" string(31) "Tue, 03 May 2016 08:36:04 +0000"
Output for 7.0.5
string(31) "Sat, 02 Apr 2016 21:21:03 +0000" string(31) "Sat, 02 Apr 2016 21:21:03 +0000" string(31) "Sat, 02 Apr 2016 21:21:03 +0000"
Output for 7.0.4
string(31) "Thu, 10 Mar 2016 08:58:42 +0000" string(31) "Thu, 10 Mar 2016 08:58:42 +0000" string(31) "Thu, 10 Mar 2016 08:58:42 +0000"
Output for 7.0.3
string(31) "Fri, 18 Mar 2016 09:39:26 +0000" string(31) "Fri, 18 Mar 2016 09:39:26 +0000" string(31) "Fri, 18 Mar 2016 09:39:26 +0000"
Output for 7.0.2
string(31) "Tue, 22 Mar 2016 15:37:41 +0000" string(31) "Tue, 22 Mar 2016 15:37:41 +0000" string(31) "Tue, 22 Mar 2016 15:37:41 +0000"
Output for 7.0.1
string(31) "Wed, 23 Mar 2016 20:11:56 +0000" string(31) "Wed, 23 Mar 2016 20:11:56 +0000" string(31) "Wed, 23 Mar 2016 20:11:56 +0000"
Output for 7.0.0
string(31) "Sat, 26 Mar 2016 21:44:03 +0000" string(31) "Sat, 26 Mar 2016 21:44:03 +0000" string(31) "Sat, 26 Mar 2016 21:44:03 +0000"
Output for hhvm-3.12.0
string(31) "Sat, 12 Mar 2016 12:33:30 +0000" string(31) "Sat, 12 Mar 2016 12:33:30 +0000" string(31) "Sat, 12 Mar 2016 12:33:30 +0000"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
string(31) "Mon, 02 May 2016 03:55:08 +0000" string(31) "Mon, 02 May 2016 03:55:08 +0000" string(31) "Mon, 02 May 2016 03:55:08 +0000"
Output for 5.6.20
string(31) "Sat, 09 Apr 2016 20:21:05 +0000" string(31) "Sat, 09 Apr 2016 20:21:05 +0000" string(31) "Sat, 09 Apr 2016 20:21:05 +0000"
Output for 5.6.19
string(31) "Mon, 07 Mar 2016 17:07:11 +0000" string(31) "Mon, 07 Mar 2016 17:07:11 +0000" string(31) "Mon, 07 Mar 2016 17:07:11 +0000"
Output for 5.6.18
string(31) "Tue, 15 Mar 2016 01:13:24 +0000" string(31) "Tue, 15 Mar 2016 01:13:24 +0000" string(31) "Tue, 15 Mar 2016 01:13:24 +0000"
Output for 5.6.17
string(31) "Sat, 19 Mar 2016 13:53:17 +0000" string(31) "Sat, 19 Mar 2016 13:53:17 +0000" string(31) "Sat, 19 Mar 2016 13:53:17 +0000"
Output for 5.6.16
string(31) "Sun, 27 Mar 2016 22:41:24 +0000" string(31) "Sun, 27 Mar 2016 22:41:24 +0000" string(31) "Sun, 27 Mar 2016 22:41:24 +0000"
Output for 5.6.15
string(31) "Mon, 28 Mar 2016 23:36:34 +0000" string(31) "Mon, 28 Mar 2016 23:36:34 +0000" string(31) "Mon, 28 Mar 2016 23:36:34 +0000"
Output for 5.6.14
string(31) "Sat, 02 Apr 2016 01:55:02 +0000" string(31) "Sat, 02 Apr 2016 01:55:02 +0000" string(31) "Sat, 02 Apr 2016 01:55:02 +0000"
Output for 5.6.13
string(31) "Fri, 15 Apr 2016 05:49:54 +0000" string(31) "Fri, 15 Apr 2016 05:49:54 +0000" string(31) "Fri, 15 Apr 2016 05:49:54 +0000"
Output for 5.6.12
string(31) "Tue, 19 Apr 2016 19:39:04 +0000" string(31) "Tue, 19 Apr 2016 19:39:04 +0000" string(31) "Tue, 19 Apr 2016 19:39:04 +0000"
Output for 5.6.11
string(31) "Sat, 23 Apr 2016 02:40:32 +0000" string(31) "Sat, 23 Apr 2016 02:40:32 +0000" string(31) "Sat, 23 Apr 2016 02:40:32 +0000"
Output for 5.6.10
string(31) "Mon, 25 Apr 2016 04:25:21 +0000" string(31) "Mon, 25 Apr 2016 04:25:21 +0000" string(31) "Mon, 25 Apr 2016 04:25:21 +0000"
Output for 5.6.9
string(31) "Wed, 27 Apr 2016 09:24:50 +0000" string(31) "Wed, 27 Apr 2016 09:24:50 +0000" string(31) "Wed, 27 Apr 2016 09:24:50 +0000"
Output for 5.6.8
string(31) "Fri, 29 Apr 2016 17:33:08 +0000" string(31) "Fri, 29 Apr 2016 17:33:08 +0000" string(31) "Fri, 29 Apr 2016 17:33:08 +0000"
Output for 5.5.35
string(31) "Sun, 22 May 2016 07:43:03 +0000" string(31) "Sun, 22 May 2016 07:43:03 +0000" string(31) "Sun, 22 May 2016 07:43:03 +0000"
Output for 5.5.34
string(31) "Sun, 10 Apr 2016 22:42:51 +0000" string(31) "Sun, 10 Apr 2016 22:42:51 +0000" string(31) "Sun, 10 Apr 2016 22:42:51 +0000"
Output for 5.5.33
string(31) "Tue, 08 Mar 2016 20:03:34 +0000" string(31) "Tue, 08 Mar 2016 20:03:34 +0000" string(31) "Tue, 08 Mar 2016 20:03:34 +0000"
Output for 5.5.32
string(31) "Thu, 17 Mar 2016 02:46:48 +0000" string(31) "Thu, 17 Mar 2016 02:46:48 +0000" string(31) "Thu, 17 Mar 2016 02:46:48 +0000"
Output for 5.5.31
string(31) "Sun, 20 Mar 2016 16:37:29 +0000" string(31) "Sun, 20 Mar 2016 16:37:29 +0000" string(31) "Sun, 20 Mar 2016 16:37:29 +0000"
Output for 5.5.30
string(31) "Fri, 01 Apr 2016 01:33:13 +0000" string(31) "Fri, 01 Apr 2016 01:33:13 +0000" string(31) "Fri, 01 Apr 2016 01:33:13 +0000"
Output for 5.5.29
string(31) "Sat, 16 Apr 2016 19:57:14 +0000" string(31) "Sat, 16 Apr 2016 19:57:14 +0000" string(31) "Sat, 16 Apr 2016 19:57:14 +0000"
Output for 5.5.28
string(31) "Wed, 20 Apr 2016 22:55:35 +0000" string(31) "Wed, 20 Apr 2016 22:55:35 +0000" string(31) "Wed, 20 Apr 2016 22:55:35 +0000"
Output for 5.5.27
string(31) "Fri, 22 Apr 2016 01:12:47 +0000" string(31) "Fri, 22 Apr 2016 01:12:47 +0000" string(31) "Fri, 22 Apr 2016 01:12:47 +0000"
Output for 5.5.26
string(31) "Tue, 26 Apr 2016 06:52:10 +0000" string(31) "Tue, 26 Apr 2016 06:52:10 +0000" string(31) "Tue, 26 Apr 2016 06:52:10 +0000"
Output for 5.5.25
string(31) "Thu, 28 Apr 2016 13:16:58 +0000" string(31) "Thu, 28 Apr 2016 13:16:58 +0000" string(31) "Thu, 28 Apr 2016 13:16:58 +0000"
Output for 5.5.24
string(31) "Mon, 23 May 2016 20:31:23 +0000" string(31) "Mon, 23 May 2016 20:31:23 +0000" string(31) "Mon, 23 May 2016 20:31:23 +0000"
Output for 5.4.45
string(31) "Sun, 06 Sep 2015 21:14:48 +0000" string(31) "Sun, 06 Sep 2015 21:14:48 +0000" string(31) "Sun, 06 Sep 2015 21:14:48 +0000"
Output for 5.4.44
string(31) "Sun, 06 Sep 2015 21:14:45 +0000" string(31) "Sun, 06 Sep 2015 21:14:45 +0000" string(31) "Sun, 06 Sep 2015 21:14:45 +0000"
Output for 5.4.43
string(31) "Sun, 06 Sep 2015 21:14:42 +0000" string(31) "Sun, 06 Sep 2015 21:14:42 +0000" string(31) "Sun, 06 Sep 2015 21:14:42 +0000"
Output for 5.4.42
string(31) "Thu, 09 Jul 2015 16:30:45 +0000" string(31) "Thu, 09 Jul 2015 16:30:45 +0000" string(31) "Thu, 09 Jul 2015 16:30:45 +0000"
Output for 5.4.41
string(31) "Thu, 09 Jul 2015 16:30:43 +0000" string(31) "Thu, 09 Jul 2015 16:30:43 +0000" string(31) "Thu, 09 Jul 2015 16:30:43 +0000"
Output for 5.4.40
string(31) "Thu, 09 Jul 2015 16:30:39 +0000" string(31) "Thu, 09 Jul 2015 16:30:39 +0000" string(31) "Thu, 09 Jul 2015 16:30:39 +0000"
Output for 5.4.39
string(31) "Thu, 09 Jul 2015 16:30:38 +0000" string(31) "Thu, 09 Jul 2015 16:30:38 +0000" string(31) "Thu, 09 Jul 2015 16:30:38 +0000"
Output for 5.4.38
string(31) "Thu, 09 Jul 2015 16:30:37 +0000" string(31) "Thu, 09 Jul 2015 16:30:37 +0000" string(31) "Thu, 09 Jul 2015 16:30:37 +0000"
Output for 5.4.37
string(31) "Thu, 09 Jul 2015 16:30:35 +0000" string(31) "Thu, 09 Jul 2015 16:30:35 +0000" string(31) "Thu, 09 Jul 2015 16:30:35 +0000"
Output for 5.4.35 - 5.4.36
string(31) "Thu, 09 Jul 2015 16:30:34 +0000" string(31) "Thu, 09 Jul 2015 16:30:34 +0000" string(31) "Thu, 09 Jul 2015 16:30:34 +0000"
Output for 5.4.23 - 5.4.34
string(31) "Mon, 27 Oct 2014 16:55:47 +0000" string(31) "Mon, 27 Oct 2014 16:55:47 +0000" string(31) "Mon, 27 Oct 2014 16:55:47 +0000"
Output for 5.4.1 - 5.4.22
string(31) "Mon, 27 Oct 2014 16:55:48 +0000" string(31) "Mon, 27 Oct 2014 16:55:48 +0000" string(31) "Mon, 27 Oct 2014 16:55:48 +0000"
Output for 5.3.11 - 5.4.0
string(31) "Mon, 27 Oct 2014 16:55:49 +0000" string(31) "Mon, 27 Oct 2014 16:55:49 +0000" string(31) "Mon, 27 Oct 2014 16:55:49 +0000"
Output for 5.2.7 - 5.3.10
string(31) "Mon, 27 Oct 2014 16:55:50 +0000" string(31) "Mon, 27 Oct 2014 16:55:50 +0000" string(31) "Mon, 27 Oct 2014 16:55:50 +0000"
Output for 4.3.8 - 5.2.6
string(31) "Mon, 27 Oct 2014 16:55:51 +0000" string(31) "Mon, 27 Oct 2014 16:55:51 +0000" string(31) "Mon, 27 Oct 2014 16:55:51 +0000"
Output for 4.3.1 - 4.3.7
string(31) "Mon, 27 Oct 2014 16:55:52 +0000" string(31) "Mon, 27 Oct 2014 16:55:52 +0000" string(31) "Mon, 27 Oct 2014 16:55:52 +0000"
Output for 4.3.0
string(31) "Sun, 6 Sep 2015 21:14:41 +0000" string(31) "Sun, 6 Sep 2015 21:14:41 +0000" string(31) "Sun, 6 Sep 2015 21:14:41 +0000"