3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = new DateTime(); $dates[] = $now; $dates[] = $now->add(new DateInterval('P1D')); var_dump($dates);
based on Dc470
Output for 7.1.0
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:28.004051" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:28.004051" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.28, 7.0.14
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.6
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-04 16:04:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-04 16:04:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.5
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-04 04:37:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-04 04:37:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.4
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-11 16:08:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-11 16:08:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.3
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 16:50:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 16:50:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.2
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 22:57:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 22:57:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.1
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-25 03:12:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-25 03:12:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 7.0.0
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 05:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 05:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for hhvm-3.12.0
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-14 01:16:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-14 01:16:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for hhvm-3.10.0
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-31 21:50:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-31 21:50:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.21
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 11:15:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 11:15:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.20
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 03:34:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 03:34:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.19
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 23:50:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 23:50:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.18
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-16 08:46:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-16 08:46:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.17
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 20:40:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 20:40:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.16
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 05:58:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 05:58:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.15
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-30 06:50:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-30 06:50:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.14
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 08:49:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 08:49:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.13
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 13:04:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 13:04:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.12
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 03:27:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 03:27:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.11
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 09:59:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 09:59:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.10
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 11:53:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 11:53:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.9
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 17:01:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 17:01:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.6.8
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-01 01:42:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-01 01:42:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.35
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 16:10:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 16:10:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.34
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-12 05:49:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-12 05:49:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.33
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 02:56:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 02:56:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.32
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 12:27:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 12:27:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.31
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 23:26:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 23:26:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.30
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 08:43:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 08:43:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.29
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-18 03:25:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-18 03:25:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.28
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 06:38:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 06:38:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.27
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-23 08:36:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-23 08:36:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.26
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 14:34:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 14:34:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.25
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 21:20:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 21:20:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.5.24
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-25 04:09:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-25 04:09:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.45
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-06 08:22:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-06 08:22:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.44
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:49:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:49:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.43
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.42
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.41
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.39 - 5.4.40
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-08-17 15:48:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.38
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.36 - 5.4.37
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.34 - 5.4.35
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-06 15:38:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.32
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-29 11:14:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-29 11:14:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.30 - 5.4.31
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2014-08-15 10:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.26 - 5.4.29
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:33" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:33" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.4.13 - 5.4.25
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:34" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:34" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.3.28, 5.4.0 - 5.4.12
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:35" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:35" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.3.29
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-29 11:14:23" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-29 11:14:23" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.3.17 - 5.3.27
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:36" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:36" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.3.0 - 5.3.16
array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:37" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2014-08-15 10:10:37" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::add() in /in/BLY1L on line 4
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/BLY1L on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/BLY1L on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/BLY1L on line 2