3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function getDay($day) { $days = ['Monday' => 1, 'Tuesday' => 2, 'Wednesday' => 3, 'Thursday' => 4, 'Friday' => 5, 'Saturday' => 6, 'Sunday' => 7]; $today = new \DateTime(); echo "current date";var_dump($today); $today->setISODate($today->format('o'), $today->format('W'), $days[ucfirst($day)]); return $today; } //var_dump(getDay('Monday')->format('l dS F Y')); var_dump(getDay('Tuesday')); var_dump(getDay('Tuesday')->format('l dS F Y')); //var_dump(getDay('Friday')->format('l dS F Y'));
Output for 7.1.0
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-25 09:23:22.006465" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-26 09:23:22.006465" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-25 09:23:22.006562" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(26) "Tuesday 26th November 2013"
Output for 5.6.28, 7.0.14
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-25 09:23:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-26 09:23:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-25 09:23:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(26) "Tuesday 26th November 2013"
Output for 7.0.6
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 01:37:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 01:37:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 01:37:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(21) "Tuesday 03rd May 2016"
Output for 7.0.5
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 14:55:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 14:55:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 14:55:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for 7.0.4
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 23:59:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 23:59:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 23:59:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 08th March 2016"
Output for 7.0.3
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 00:27:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 00:27:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 00:27:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 15th March 2016"
Output for 7.0.2
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 11:06:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 11:06:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 11:06:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 22nd March 2016"
Output for 7.0.1
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 11:17:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 11:17:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 11:17:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 22nd March 2016"
Output for 7.0.0
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-26 13:51:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 13:51:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-26 13:51:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 22nd March 2016"
Output for hhvm-3.12.0
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-30 09:36:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 09:36:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-30 09:36:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for hhvm-3.10.0
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 18:30:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 18:30:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 18:30:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for 5.6.21
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-01 20:41:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 20:41:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-01 20:41:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.6.20
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-09 10:10:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-05 10:10:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-09 10:10:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 05th April 2016"
Output for 5.6.19
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-06 21:59:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-01 21:59:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-06 21:59:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 01st March 2016"
Output for 5.6.18
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-14 09:56:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 09:56:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-14 09:56:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 15th March 2016"
Output for 5.6.17
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 04:59:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 04:59:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 04:59:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 15th March 2016"
Output for 5.6.16
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 15:35:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 15:35:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 15:35:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 22nd March 2016"
Output for 5.6.15
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 16:30:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 16:30:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 16:30:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for 5.6.14
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 19:11:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 19:11:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 19:11:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for 5.6.13
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 22:58:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-12 22:58:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 22:58:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 12th April 2016"
Output for 5.6.12
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 12:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 12:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 12:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 19th April 2016"
Output for 5.6.11
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 19:21:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 19:21:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 19:21:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 19th April 2016"
Output for 5.6.10
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 21:01:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 21:01:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 21:01:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 19th April 2016"
Output for 5.6.9
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 02:08:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 02:08:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 02:08:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.6.8
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 09:41:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 09:41:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 09:41:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.6.7
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 20:02:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 20:02:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 20:02:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(21) "Tuesday 24th May 2016"
Output for 5.5.35
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 23:55:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-17 23:55:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 23:55:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(21) "Tuesday 17th May 2016"
Output for 5.5.34
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 16:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-05 16:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 16:05:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 05th April 2016"
Output for 5.5.33
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 11:13:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 11:13:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 11:13:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 08th March 2016"
Output for 5.5.32
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 20:11:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 20:11:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 20:11:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 15th March 2016"
Output for 5.5.31
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 07:53:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 07:53:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 07:53:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 15th March 2016"
Output for 5.5.30
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-31 18:33:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 18:33:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-31 18:33:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 29th March 2016"
Output for 5.5.29
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 13:03:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-12 13:03:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 13:03:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 12th April 2016"
Output for 5.5.28
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 15:17:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 15:17:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 15:17:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 19th April 2016"
Output for 5.5.27
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 17:53:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 17:53:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 17:53:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 19th April 2016"
Output for 5.5.26
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 23:17:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 23:17:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 23:17:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.5.25
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 05:25:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 05:25:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 05:25:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.5.24
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 13:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 13:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 13:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(23) "Tuesday 26th April 2016"
Output for 5.4.45
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-13 10:04:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.41 - 5.4.44
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-13 10:04:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.38 - 5.4.40
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-13 10:04:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:04:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.34 - 5.4.37
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-13 10:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:05:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.30 - 5.4.32
current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:05:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-13 10:05:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(26) "2015-10-16 10:05:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.26 - 5.4.29
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:02" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:02" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:02" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.21 - 5.4.25
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:03" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:03" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:03" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.17 - 5.4.20
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:04" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:04" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:04" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.13 - 5.4.16
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:05" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:05" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:05" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.9 - 5.4.12
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:06" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:06" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:06" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.6 - 5.4.8
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:07" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:07" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:07" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.2 - 5.4.5
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:08" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:08" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:08" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 5.4.0 - 5.4.1
current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:09" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-13 10:05:09" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } current dateobject(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-16 10:05:09" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(25) "Tuesday 13th October 2015"
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/RiBUj on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/RiBUj on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/RiBUj on line 4
Process exited with code 255.