3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(new \DateTime(null, new \DateTimeZone('America/Chicago'))); var_dump(new \DateTime(null, new \DateTimeZone('America/New_York')));
based on fJB8t
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.002744" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.002790" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.003404" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.003456" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.003293" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.003347" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.012498" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.012657" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.011395" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.011542" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.004044" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.004121" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.28, 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 06:42:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 07:42:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 02:41:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 03:41:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 14:48:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 15:48:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 17:14:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 18:14:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 23:28:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 00:28:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 02:32:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 03:32:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.0.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 03:26:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 04:26:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 09:35:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 10:35:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 01:43:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 02:43:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-07 22:57:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-07 23:57:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 08:55:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 09:55:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 20:27:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 21:27:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 04:15:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 05:15:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 05:05:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 06:05:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 10:47:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 11:47:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 11:26:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 12:26:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 01:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 02:56:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 08:22:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 09:22:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 10:28:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 11:28:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 15:54:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 16:54:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.6.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 00:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 01:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-22 19:37:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-22 20:37:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 03:57:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 04:57:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 01:56:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 02:56:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 12:53:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 13:53:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 23:38:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 00:38:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 06:56:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 07:56:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 01:44:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 02:44:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 05:15:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 06:15:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 06:52:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 07:52:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 13:09:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 14:09:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 20:35:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 21:35:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 02:58:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 03:58:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.45
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.44
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.41 - 5.4.43
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.40
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.38 - 5.4.39
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.36 - 5.4.37
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.31 - 5.4.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:11" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:11" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.27 - 5.4.28
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:12" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:12" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.25 - 5.4.26
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:13" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:13" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.28, 5.4.23 - 5.4.24
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:14" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:14" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.20 - 5.4.22
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:15" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:15" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.18 - 5.4.19
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:16" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:16" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.27, 5.4.17
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:17" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:17" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.24 - 5.3.26, 5.4.15 - 5.4.16
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:18" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:18" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.22 - 5.3.23, 5.4.12 - 5.4.14
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:19" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:19" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.21, 5.4.11
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:20" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:20" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:10" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:10" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }