3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime('now'); var_dump($a->format('Y-MM-DD HH:II:SS'));
based on 8S984
Output for 5.4.8 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
string(31) "2015-SepSep-TueTue 1717:11:thth"
Output for 7.0.6
string(31) "2016-MayMay-TueTue 0404:11:rdrd"
Output for 7.0.5
string(31) "2016-AprApr-SatSat 1818:11:ndnd"
Output for 7.0.4
string(31) "2016-MarMar-ThuThu 0303:00:thth"
Output for 7.0.3
string(31) "2016-MarMar-FriFri 0404:00:thth"
Output for 7.0.2
string(31) "2016-MarMar-MonMon 1414:00:stst"
Output for 7.0.1
string(31) "2016-MarMar-WedWed 1515:00:rdrd"
Output for 7.0.0
string(31) "2016-MarMar-SatSat 1717:00:thth"
Output for 5.6.21
string(31) "2016-MayMay-MonMon 0000:11:ndnd"
Output for 5.6.20
string(31) "2016-AprApr-SatSat 1313:11:thth"
Output for 5.6.19
string(31) "2016-MarMar-MonMon 0303:00:thth"
Output for 5.6.18
string(31) "2016-MarMar-MonMon 1616:00:thth"
Output for 5.6.17
string(31) "2016-MarMar-SatSat 0808:00:thth"
Output for 5.6.16
string(31) "2016-MarMar-SunSun 1919:11:thth"
Output for 5.6.15
string(31) "2016-MarMar-MonMon 1919:11:thth"
Output for 5.6.14
string(31) "2016-AprApr-FriFri 2222:11:stst"
Output for 5.6.13
string(31) "2016-AprApr-FriFri 0202:11:thth"
Output for 5.6.12
string(31) "2016-AprApr-TueTue 1515:11:thth"
Output for 5.6.11
string(31) "2016-AprApr-FriFri 2222:11:ndnd"
Output for 5.6.10
string(31) "2016-AprApr-MonMon 0000:11:thth"
Output for 5.6.9
string(31) "2016-AprApr-WedWed 0505:11:thth"
Output for 5.6.8
string(31) "2016-AprApr-FriFri 1313:11:thth"
Output for 5.6.7
string(31) "2016-MayMay-WedWed 0202:11:thth"
Output for 5.5.35
string(31) "2016-MayMay-SunSun 0303:11:ndnd"
Output for 5.5.34
string(31) "2016-AprApr-SunSun 1919:11:thth"
Output for 5.5.33
string(31) "2016-MarMar-TueTue 1414:00:thth"
Output for 5.5.32
string(31) "2016-MarMar-WedWed 2020:00:thth"
Output for 5.5.31
string(31) "2016-MarMar-SunSun 1111:00:thth"
Output for 5.5.30
string(31) "2016-MarMar-ThuThu 2121:11:stst"
Output for 5.5.29
string(31) "2016-AprApr-SatSat 1616:11:thth"
Output for 5.5.28
string(31) "2016-AprApr-WedWed 1818:11:thth"
Output for 5.5.27
string(31) "2016-AprApr-ThuThu 2121:11:stst"
Output for 5.5.26
string(31) "2016-AprApr-TueTue 0303:11:thth"
Output for 5.5.25
string(31) "2016-AprApr-ThuThu 0808:11:thth"
Output for 5.5.24
string(31) "2016-MayMay-MonMon 1515:11:rdrd"
Output for 5.4.7
string(31) "2015-OctOct-TueTue 0101:00:thth"
Output for 5.4.6
string(31) "2015-OctOct-TueTue 0202:00:thth"
Output for 5.4.5
string(31) "2015-OctOct-TueTue 0404:00:thth"
Output for 5.4.4
string(31) "2015-OctOct-TueTue 0505:00:thth"
Output for 5.4.3
string(31) "2015-OctOct-TueTue 0707:00:thth"
Output for 5.4.2
string(31) "2015-OctOct-TueTue 0909:00:thth"
Output for 5.3.18 - 5.3.29
string(31) "2015-OctOct-FriFri 1010:11:ndnd"