3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('+1 month'); echo $date->format(DateTime::RFC2822);
based on YeoR3
Output for 5.6.28, 7.0.20 - 7.2.0
Sun, 22 Nov 2015 18:32:31 +0100
Output for 7.0.6
Fri, 03 Jun 2016 01:29:16 +0200
Output for 7.0.5
Mon, 02 May 2016 14:48:23 +0200
Output for 7.0.4
Sat, 09 Apr 2016 23:51:03 +0200
Output for 7.0.3
Mon, 18 Apr 2016 00:18:35 +0200
Output for 7.0.2
Thu, 21 Apr 2016 10:57:28 +0200
Output for 7.0.1
Sat, 23 Apr 2016 11:08:44 +0200
Output for 7.0.0
Tue, 26 Apr 2016 13:43:35 +0200
Output for 5.6.21
Wed, 01 Jun 2016 20:33:36 +0200
Output for 5.6.20
Mon, 09 May 2016 10:03:19 +0200
Output for 5.6.19
Wed, 06 Apr 2016 21:47:08 +0200
Output for 5.6.18
Thu, 14 Apr 2016 09:47:29 +0200
Output for 5.6.17
Tue, 19 Apr 2016 04:51:10 +0200
Output for 5.6.16
Wed, 27 Apr 2016 15:28:13 +0200
Output for 5.6.15
Thu, 28 Apr 2016 16:22:50 +0200
Output for 5.6.14
Sun, 01 May 2016 19:03:56 +0200
Output for 5.6.13
Sat, 14 May 2016 22:51:07 +0200
Output for 5.6.12
Thu, 19 May 2016 11:57:18 +0200
Output for 5.6.11
Sun, 22 May 2016 19:14:18 +0200
Output for 5.6.10
Tue, 24 May 2016 20:53:30 +0200
Output for 5.6.9
Fri, 27 May 2016 01:59:45 +0200
Output for 5.6.8
Sun, 29 May 2016 09:33:42 +0200
Output for 5.5.35
Tue, 21 Jun 2016 23:47:23 +0200
Output for 5.5.34
Tue, 10 May 2016 15:57:17 +0200
Output for 5.5.33
Fri, 08 Apr 2016 11:05:46 +0200
Output for 5.5.32
Fri, 15 Apr 2016 20:03:22 +0200
Output for 5.5.31
Wed, 20 Apr 2016 07:44:45 +0200
Output for 5.5.30
Sun, 01 May 2016 18:25:50 +0200
Output for 5.5.29
Mon, 16 May 2016 12:56:03 +0200
Output for 5.5.28
Fri, 20 May 2016 15:09:27 +0200
Output for 5.5.27
Sat, 21 May 2016 17:45:58 +0200
Output for 5.5.26
Wed, 25 May 2016 23:10:01 +0200
Output for 5.5.25
Sat, 28 May 2016 05:16:58 +0200
Output for 5.5.24
Mon, 30 May 2016 12:52:51 +0200
Output for 5.4.39 - 5.4.45
Sun, 22 Nov 2015 18:32:41 +0100
Output for 5.4.31 - 5.4.38
Sun, 22 Nov 2015 18:32:42 +0100
Output for 5.4.24 - 5.4.30
Sun, 22 Nov 2015 18:32:43 +0100
Output for 5.4.16 - 5.4.23
Sun, 22 Nov 2015 18:32:44 +0100
Output for 5.4.3 - 5.4.15
Sun, 22 Nov 2015 18:32:45 +0100
Output for 5.3.25 - 5.4.2
Sun, 22 Nov 2015 18:32:46 +0100
Output for 5.3.19 - 5.3.24
Sun, 22 Nov 2015 18:32:47 +0100