3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_get('date.timezone')); var_dump(new DateTime());
based on sjhKP
Output for 7.2.0
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.002631" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.10
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.003249" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.7
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.002603" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.6
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.013374" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.5
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.005337" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.0
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.004135" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.28, 7.0.20
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.6
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 12:33:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.5
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 08:43:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.4
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 20:44:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.3
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 22:05:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.2
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 04:19:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.1
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 07:31:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.0.0
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 09:25:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.21
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 15:34:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.20
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 07:44:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.19
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 04:54:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.18
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 13:46:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.17
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 01:20:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.16
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 10:14:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.15
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 11:04:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.14
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 16:45:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.13
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 17:25:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.12
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 07:53:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.11
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 14:18:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.10
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 16:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.9
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 21:31:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.6.8
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 06:21:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.35
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 00:57:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.34
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 09:56:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.33
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 07:50:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.32
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 17:41:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.31
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 04:27:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.30
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 12:56:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.29
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 07:43:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.28
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 11:11:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.27
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 12:51:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.26
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 19:02:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.25
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 02:28:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.5.24
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 08:54:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.45
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.44
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.41 - 5.4.43
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.38 - 5.4.40
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.34 - 5.4.37
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.30 - 5.4.32
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-14 16:43:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.29, 5.4.29
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-14 16:43:12" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.4.23 - 5.4.28
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-14 16:43:13" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.28, 5.4.19 - 5.4.22
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-14 16:43:14" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.23 - 5.3.27, 5.4.13 - 5.4.18
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-14 16:43:15" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.20 - 5.3.22, 5.4.10 - 5.4.12
string(16) "Europe/Amsterdam" object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-14 16:43:16" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }