3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getDay($day) { $days = array('Monday' => 1, 'Tuesday' => 2, 'Wednesday' => 3, 'Thursday' => 4, 'Friday' => 5, 'Saturday' => 6, 'Sunday' => 7); $today = new \DateTime(); $today->setISODate($today->format('o'), $today->format('W'), $days[ucfirst($day)]); return $today; } var_dump(getDay('Monday')); var_dump(getDay('Friday')->format('l dS F Y'));
Output for 8.3.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007090" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009392" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009008" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.006951" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.006934" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003795" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003910" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.3.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004097" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007229" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007023" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.006893" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003798" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.6, 8.2.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003750" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007083" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003695" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004744" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.005389" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004069" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003908" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003967" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004001" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003671" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003772" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003985" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004059" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.005385" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008442" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003867" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004444" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003990" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003873" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.23
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004960" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.22
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003684" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003790" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003929" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003694" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003889" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003689" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003589" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003676" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003632" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003238" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003535" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003669" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.005638" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003504" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003273" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003244" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003820" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004141" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003948" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003906" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003612" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004016" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003600" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003494" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003412" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004127" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003449" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003135" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.20, 8.0.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003483" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003320" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.23
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003275" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.10, 8.0.22
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003595" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003611" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003427" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004175" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003633" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003438" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003339" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003692" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003466" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 09:00:36.002315" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } string(20) "Friday 30th May 2014"
Output for 8.0.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003697" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003332" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003738" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003328" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.010345" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003420" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003448" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003580" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009472" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.010559" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003613" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 8.0.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008704" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.002333" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003113" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003354" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003440" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003166" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003406" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003373" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003387" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003310" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.23
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003564" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.22
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009526" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008222" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003715" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003872" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007994" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008349" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008379" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008465" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009267" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.011409" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009397" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008696" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009406" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008489" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.000317" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.002248" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003261" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008138" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.4.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.000146" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 09:00:36.004246" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } string(20) "Friday 30th May 2014"
Output for 7.3.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 09:00:36.002422" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } string(20) "Friday 30th May 2014"
Output for 7.3.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003520" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003366" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.007956" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.010664" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.011854" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009277" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008762" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009518" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.23
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008737" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009266" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.011858" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.011713" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.004481" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008155" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008447" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.3.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.000189" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.009605" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.012337" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008781" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.010775" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.008477" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003288" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003601" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.005682" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.003693" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.006415" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.010450" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.006370" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-26 11:00:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2014-05-26 11:00:36" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(20) "Friday 30th May 2014"
Output for 5.2.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/PcXIW on line 6 object(DateTime)#1 (0) { } string(20) "Friday 30th May 2014"
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/PcXIW on line 6 Fatal error: Class 'DateTime' not found in /in/PcXIW on line 6
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/PcXIW on line 6 Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/PcXIW on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/PcXIW on line 6 Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/PcXIW on line 12
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/PcXIW on line 6 Parse error: parse error in /in/PcXIW on line 12
Process exited with code 255.

preferences:
264.54 ms | 401 KiB | 360 Q