3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime('yesterday'))->format('All my trouble seem so far away');
based on DcvAA
Output for 5.4.8 - 5.4.45, 5.6.28, 7.0.20 - 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 am2am15
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 am1am16
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 am6am16
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 am3am16
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 am4am16
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 am1am16
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 am2am16
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 am6am16
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 am0am16
Output for 5.6.20
AMFridayFriday 0416 30Fri, 08 Apr 2016 00:00:00 +02002016000000bFridayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famFri, 08 Apr 2016 00:00:00 +0200 am5am16
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 am0am16
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 am1am16
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 am5am16
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 am0am16
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 am1am16
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 am5am16
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 am4am16
Output for 5.6.12
AMMondayMonday 0416 30Mon, 18 Apr 2016 00:00:00 +02002016000000bMondayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famMon, 18 Apr 2016 00:00:00 +0200 am1am16
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 am5am16
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 am0am16
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 am2am16
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 am4am16
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 am6am16
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 am0am16
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 am1am16
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 am3am16
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 am6am16
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 am4am16
Output for 5.5.29
AMFridayFriday 0416 30Fri, 15 Apr 2016 00:00:00 +02002016000000bFridayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam04 002016 famFri, 15 Apr 2016 00:00:00 +0200 am5am16
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 am3am16
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 am4am16
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 am1am16
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 am3am16
Output for 5.5.24
AMSundaySunday 0516 31Sun, 22 May 2016 00:00:00 +02002016000000bSundayEurope/Amsterdam 00Europe/AmsterdamEurope/Amsterdam05 002016 famSun, 22 May 2016 00:00:00 +0200 am0am16
Output for 5.4.2 - 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 am1am15
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/QLnhO on line 3
Process exited with code 255.