3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DateTimeFactory { const DATE_INTERVAL = 'PT20M'; public static function createDateTimeByInterval(DateInterval $dateInterval) { // create DateTime, add Date and/or TimeZone if needed. $dateTime = new DateTime(); return $dateTime->add($dateInterval); } } var_dump(DateTimeFactory::createDateTimeByInterval(new DateInterval(DateTimeFactory::DATE_INTERVAL)));
Output for 8.3.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007078" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008690" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011203" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007303" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009867" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.26, 8.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003590" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003889" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003763" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007371" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007002" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.006637" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003868" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004105" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003669" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004046" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004098" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.005360" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003800" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003652" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004012" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.005809" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004183" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.7, 8.1.22, 8.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003634" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003826" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004066" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003986" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.006873" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003880" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.006441" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007260" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.005105" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004100" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004044" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003987" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003956" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003724" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.005096" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003571" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003653" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003472" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003541" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003704" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003666" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003545" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003650" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004064" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003805" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003882" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003714" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003645" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003801" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003554" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003532" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003656" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003405" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003266" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003352" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003221" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003336" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003635" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003621" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.19, 8.0.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003307" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003723" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003196" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003508" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003606" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003451" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003370" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004074" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 12:14:40.002082" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 8.0.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003722" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003767" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004407" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003626" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.010733" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003688" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003622" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009800" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.012777" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003347" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 8.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.030680" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.001744" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003060" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.002878" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003104" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003162" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003502" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 12:14:40.002159" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.4.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003391" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003208" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003574" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009159" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007808" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003471" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003343" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011855" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009122" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008284" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009108" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009059" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.010087" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009490" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009010" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011137" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009592" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.000310" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.002157" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.002803" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008204" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.4.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.000205" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 12:14:40.002046" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.3.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 12:14:40.001965" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for 7.3.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003592" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003234" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.007056" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008730" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008317" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.035882" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011559" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008389" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008669" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009502" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009844" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009085" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.004295" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.010508" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008595" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.3.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.000191" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011579" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009066" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.009451" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.008402" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.011588" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.002671" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003961" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003802" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003248" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003786" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.012259" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.012202" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 7.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.003661" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
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)#2 (3) { ["date"]=> string(26) "2014-01-12 13:14:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-01-12 13:14:40" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Fatal error: Class 'DateInterval' not found in /in/5XX2F on line 15
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/5XX2F on line 5
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
Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/5XX2F on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/5XX2F on line 5
Process exited with code 255.

preferences:
269.32 ms | 401 KiB | 357 Q