3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime('yesterday'))->format('All my trouble seem so far away'); var_dump(new DateTime('UTC'));
based on qgB0a
Output for 7.2.0
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.003958" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.1.10
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.006841" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.1.7
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.002812" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.1.6
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.011923" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.1.5
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.009898" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.1.0
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.003995" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.28, 7.0.20
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:32.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.6
AMMondayMonday 0516 31Mon, 02 May 2016 00:00:00 +02002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam05 002016 famMon, 02 May 2016 00:00:00 +0200 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 11:09:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.5
AMSaturdaySaturday 0416 30Sat, 02 Apr 2016 00:00:00 +02002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famSat, 02 Apr 2016 00:00:00 +0200 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 23:51:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.4
AMWednesdayWednesday 0316 31Wed, 09 Mar 2016 00:00:00 +01002016000000bWednesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famWed, 09 Mar 2016 00:00:00 +0100 am3am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 11:38:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.3
AMThursdayThursday 0316 31Thu, 17 Mar 2016 00:00:00 +01002016000000bThursdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famThu, 17 Mar 2016 00:00:00 +0100 am4am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 12:27:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.2
AMMondayMonday 0316 31Mon, 21 Mar 2016 00:00:00 +01002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famMon, 21 Mar 2016 00:00:00 +0100 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 18:22:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.1
AMTuesdayTuesday 0316 31Tue, 22 Mar 2016 00:00:00 +01002016000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famTue, 22 Mar 2016 00:00:00 +0100 am2am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 22:38:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.0.0
AMSaturdaySaturday 0316 31Sat, 26 Mar 2016 00:00:00 +01002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famSat, 26 Mar 2016 00:00:00 +0100 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 00:16:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.21
AMSundaySunday 0516 31Sun, 01 May 2016 00:00:00 +02002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam05 002016 famSun, 01 May 2016 00:00:00 +0200 am0am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 06:21:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.20
AMSaturdaySaturday 0416 30Sat, 09 Apr 2016 00:00:00 +02002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famSat, 09 Apr 2016 00:00:00 +0200 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-09 22:45:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.19
AMSundaySunday 0316 31Sun, 06 Mar 2016 00:00:00 +01002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famSun, 06 Mar 2016 00:00:00 +0100 am0am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-07 19:42:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.18
AMMondayMonday 0316 31Mon, 14 Mar 2016 00:00:00 +01002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famMon, 14 Mar 2016 00:00:00 +0100 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 04:22:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.17
AMFridayFriday 0316 31Fri, 18 Mar 2016 00:00:00 +01002016000000bFridayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famFri, 18 Mar 2016 00:00:00 +0100 am5am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 16:30:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.16
AMSundaySunday 0316 31Sun, 27 Mar 2016 00:00:00 +01002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famSun, 27 Mar 2016 00:00:00 +0100 am0am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 01:06:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.15
AMMondayMonday 0316 31Mon, 28 Mar 2016 00:00:00 +02002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famMon, 28 Mar 2016 00:00:00 +0200 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 02:01:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.14
AMFridayFriday 0416 30Fri, 01 Apr 2016 00:00:00 +02002016000000bFridayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famFri, 01 Apr 2016 00:00:00 +0200 am5am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 04:09:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.13
AMThursdayThursday 0416 30Thu, 14 Apr 2016 00:00:00 +02002016000000bThursdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famThu, 14 Apr 2016 00:00:00 +0200 am4am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 08:11:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.12
AMTuesdayTuesday 0416 30Tue, 19 Apr 2016 00:00:00 +02002016000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famTue, 19 Apr 2016 00:00:00 +0200 am2am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 22:12:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.11
AMFridayFriday 0416 30Fri, 22 Apr 2016 00:00:00 +02002016000000bFridayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famFri, 22 Apr 2016 00:00:00 +0200 am5am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-23 05:06:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.10
AMSundaySunday 0416 30Sun, 24 Apr 2016 00:00:00 +02002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famSun, 24 Apr 2016 00:00:00 +0200 am0am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 06:53:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.9
AMTuesdayTuesday 0416 30Tue, 26 Apr 2016 00:00:00 +02002016000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famTue, 26 Apr 2016 00:00:00 +0200 am2am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 11:58:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.6.8
AMThursdayThursday 0416 30Thu, 28 Apr 2016 00:00:00 +02002016000000bThursdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famThu, 28 Apr 2016 00:00:00 +0200 am4am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 20:11:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.35
AMSaturdaySaturday 0516 31Sat, 21 May 2016 00:00:00 +02002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam05 002016 famSat, 21 May 2016 00:00:00 +0200 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-22 10:07:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.34
AMSundaySunday 0416 30Sun, 10 Apr 2016 00:00:00 +02002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famSun, 10 Apr 2016 00:00:00 +0200 am0am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 01:02:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.33
AMMondayMonday 0316 31Mon, 07 Mar 2016 00:00:00 +01002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famMon, 07 Mar 2016 00:00:00 +0100 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 22:36:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.32
AMWednesdayWednesday 0316 31Wed, 16 Mar 2016 00:00:00 +01002016000000bWednesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famWed, 16 Mar 2016 00:00:00 +0100 am3am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 07:25:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.31
AMSaturdaySaturday 0316 31Sat, 19 Mar 2016 00:00:00 +01002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famSat, 19 Mar 2016 00:00:00 +0100 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 19:13:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.30
AMThursdayThursday 0316 31Thu, 31 Mar 2016 00:00:00 +02002016000000bThursdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam03 002016 famThu, 31 Mar 2016 00:00:00 +0200 am4am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 03:55:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.29
AMSaturdaySaturday 0416 30Sat, 16 Apr 2016 00:00:00 +02002016000000bSaturdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famSat, 16 Apr 2016 00:00:00 +0200 am6am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 22:20:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.28
AMWednesdayWednesday 0416 30Wed, 20 Apr 2016 00:00:00 +02002016000000bWednesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famWed, 20 Apr 2016 00:00:00 +0200 am3am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 01:34:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.27
AMThursdayThursday 0416 30Thu, 21 Apr 2016 00:00:00 +02002016000000bThursdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famThu, 21 Apr 2016 00:00:00 +0200 am4am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 03:45:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.26
AMMondayMonday 0416 30Mon, 25 Apr 2016 00:00:00 +02002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famMon, 25 Apr 2016 00:00:00 +0200 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 09:30:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.25
AMWednesdayWednesday 0416 30Wed, 27 Apr 2016 00:00:00 +02002016000000bWednesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famWed, 27 Apr 2016 00:00:00 +0200 am3am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 15:54:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.5.24
AMMondayMonday 0516 31Mon, 23 May 2016 00:00:00 +02002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam05 002016 famMon, 23 May 2016 00:00:00 +0200 am1am16object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 23:07:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.40 - 5.4.45
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.31 - 5.4.39
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.30
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-14 11:30:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.24 - 5.4.29
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-14 11:30:44" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.17 - 5.4.23
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-14 11:30:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.11 - 5.4.16
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-14 11:30:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.8 - 5.4.10
AMTuesdayTuesday 1015 31Tue, 13 Oct 2015 00:00:00 +02002015000000bTuesdayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famTue, 13 Oct 2015 00:00:00 +0200 am2am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-14 11:30:47" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.7
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 01:06:52" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.6
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 02:34:31" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.5
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 04:04:36" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.4
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 05:42:26" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.3
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 07:24:09" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.4.2
AMMondayMonday 1015 31Mon, 26 Oct 2015 00:00:00 +01002015000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam10 002015 famMon, 26 Oct 2015 00:00:00 +0100 am1am15object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 09:08:58" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/QY1hU on line 3
Process exited with code 255.