3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('last day of this month'); echo $date->format(DateTime::RFC2822);
based on 2AU84
Output for 7.0.20 - 7.2.0
Mon, 30 Nov 2015 09:28:32 +0100
Output for 7.0.6
Tue, 31 May 2016 18:29:55 +0200
Output for 7.0.5
Sat, 30 Apr 2016 06:55:08 +0200
Output for 7.0.4
Thu, 31 Mar 2016 18:42:03 +0200
Output for 7.0.3
Thu, 31 Mar 2016 19:50:39 +0200
Output for 7.0.2
Thu, 31 Mar 2016 01:58:03 +0200
Output for 7.0.1
Thu, 31 Mar 2016 05:37:27 +0200
Output for 7.0.0
Thu, 31 Mar 2016 07:33:33 +0200
Output for 5.6.21
Tue, 31 May 2016 13:39:16 +0200
Output for 5.6.20
Sat, 30 Apr 2016 05:54:27 +0200
Output for 5.6.19
Thu, 31 Mar 2016 02:53:28 +0200
Output for 5.6.18
Thu, 31 Mar 2016 11:36:46 +0200
Output for 5.6.17
Thu, 31 Mar 2016 23:16:20 +0200
Output for 5.6.16
Thu, 31 Mar 2016 08:20:53 +0200
Output for 5.6.15
Thu, 31 Mar 2016 09:11:34 +0200
Output for 5.6.14
Sat, 30 Apr 2016 11:02:44 +0200
Output for 5.6.13
Sat, 30 Apr 2016 15:26:58 +0200
Output for 5.6.12
Sat, 30 Apr 2016 05:56:06 +0200
Output for 5.6.11
Sat, 30 Apr 2016 12:18:44 +0200
Output for 5.6.10
Sat, 30 Apr 2016 14:21:42 +0200
Output for 5.6.9
Sat, 30 Apr 2016 19:31:38 +0200
Output for 5.6.8
Sat, 30 Apr 2016 04:23:48 +0200
Output for 5.5.35
Tue, 31 May 2016 20:52:44 +0200
Output for 5.5.34
Sat, 30 Apr 2016 08:06:25 +0200
Output for 5.5.33
Thu, 31 Mar 2016 05:36:45 +0200
Output for 5.5.32
Thu, 31 Mar 2016 15:32:15 +0200
Output for 5.5.31
Thu, 31 Mar 2016 02:18:22 +0200
Output for 5.5.30
Sat, 30 Apr 2016 11:05:20 +0200
Output for 5.5.29
Sat, 30 Apr 2016 05:50:08 +0200
Output for 5.5.28
Sat, 30 Apr 2016 09:10:00 +0200
Output for 5.5.27
Sat, 30 Apr 2016 10:56:27 +0200
Output for 5.5.26
Sat, 30 Apr 2016 17:04:26 +0200
Output for 5.5.25
Sat, 30 Apr 2016 23:56:51 +0200
Output for 5.5.24
Tue, 31 May 2016 06:29:45 +0200
Output for 5.4.45
Mon, 30 Nov 2015 09:28:34 +0100
Output for 5.4.44
Mon, 30 Nov 2015 09:28:35 +0100
Output for 5.4.43
Mon, 30 Nov 2015 09:28:36 +0100
Output for 5.4.41 - 5.4.42
Mon, 30 Nov 2015 09:28:37 +0100
Output for 5.4.39 - 5.4.40
Mon, 30 Nov 2015 09:28:38 +0100
Output for 5.4.36 - 5.4.38
Mon, 30 Nov 2015 09:28:39 +0100
Output for 5.4.34 - 5.4.35
Mon, 30 Nov 2015 09:28:40 +0100
Output for 5.3.29, 5.4.31 - 5.4.32
Mon, 30 Nov 2015 09:28:41 +0100
Output for 5.4.27 - 5.4.30
Mon, 30 Nov 2015 09:28:42 +0100
Output for 5.4.23 - 5.4.26
Mon, 30 Nov 2015 09:28:43 +0100
Output for 5.3.28, 5.4.20 - 5.4.22
Mon, 30 Nov 2015 09:28:44 +0100
Output for 5.3.27, 5.4.17 - 5.4.19
Mon, 30 Nov 2015 09:28:45 +0100
Output for 5.3.23 - 5.3.26, 5.4.13 - 5.4.16
Mon, 30 Nov 2015 09:28:46 +0100
Output for 5.3.19 - 5.3.22, 5.4.9 - 5.4.12
Mon, 30 Nov 2015 09:28:47 +0100