3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime("2014-04-07 15:30:00"); $diff = $now->diff(new DateTime()); var_dump(new DateTime()); echo $diff->format("%a");
Output for 8.3.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009399" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009188" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.007364" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.006892" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003679" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004263" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003718" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008993" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008199" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008447" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004238" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003851" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003783" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004351" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004044" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.005329" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003719" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.20, 8.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003737" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003977" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003769" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003829" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003778" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003757" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004053" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004096" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004845" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009658" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003866" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003620" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003468" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004034" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004873" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004058" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003968" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003989" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003796" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003606" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003946" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003728" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003913" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003534" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004237" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003735" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003887" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003473" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003560" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003489" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003553" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003736" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003894" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003802" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003528" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004124" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003828" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003641" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003729" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003382" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003482" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003372" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003093" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003304" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.005198" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003354" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003336" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003678" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003140" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003717" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003363" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003648" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003484" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003339" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004111" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:31:04.002193" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 28
Output for 8.0.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003649" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003832" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003469" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003457" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008094" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003599" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003570" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003568" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.012087" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.012331" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003657" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 8.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009677" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.001970" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.19, 7.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003287" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.002811" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003685" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003467" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003644" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003150" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003531" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003319" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003160" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009080" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009999" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011092" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011857" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008605" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009645" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008607" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011689" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011578" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008408" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009505" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008303" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.000390" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.002131" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.002963" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.010704" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.4.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.000161" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:31:04.002310" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 28
Output for 7.3.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:31:04.002100" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 28
Output for 7.3.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003749" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003169" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.006661" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.007679" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008975" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008730" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008890" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008988" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008893" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008822" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.012963" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011838" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004571" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.010400" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008414" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.3.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.000213" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.011907" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.008790" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.010605" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009043" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.009363" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.006304" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004935" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004131" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.003038" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.002400" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.005277" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.010556" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.004989" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 5.6.28, 7.0.14 - 7.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:31:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 7.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-03 14:21:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 756
Output for 7.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 03:01:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 726
Output for 7.0.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-10 14:15:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 702
Output for 7.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-18 14:51:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 710
Output for 7.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-22 20:53:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 715
Output for 7.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 01:28:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 716
Output for 7.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 03:28:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 719
Output for 5.6.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 09:33:42.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 755
Output for 5.6.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 01:56:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 733
Output for 5.6.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-07 21:58:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 700
Output for 5.6.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 06:49:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 707
Output for 5.6.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-19 18:48:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 712
Output for 5.6.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 04:18:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 720
Output for 5.6.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 05:12:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 721
Output for 5.6.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-02 07:17:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 725
Output for 5.6.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 11:24:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 738
Output for 5.6.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 01:41:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 743
Output for 5.6.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-23 08:19:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 746
Output for 5.6.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 10:08:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 748
Output for 5.6.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-27 15:15:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 750
Output for 5.6.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 23:28:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 753
Output for 5.5.35
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-22 13:34:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 775
Output for 5.5.34
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 04:12:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 734
Output for 5.5.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 01:04:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 701
Output for 5.5.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 10:10:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 709
Output for 5.5.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-20 21:32:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 713
Output for 5.5.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 07:06:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 724
Output for 5.5.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 01:41:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 740
Output for 5.5.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 04:52:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 744
Output for 5.5.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 06:57:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 745
Output for 5.5.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 12:47:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 749
Output for 5.5.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-28 19:16:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 752
Output for 5.5.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 02:24:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 777
Output for 5.4.45
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-16 16:21:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 527
Output for 5.4.44
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-08-11 01:33:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 490
Output for 5.4.43
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-07-10 19:35:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 459
Output for 5.4.42
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-27 17:01:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 446
Output for 5.4.41
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-05-25 23:24:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 413
Output for 5.4.40
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-05-10 16:34:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 398
Output for 5.4.39
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-05-10 16:34:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 398
Output for 5.4.38
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-02 13:29:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 328
Output for 5.4.35 - 5.4.37
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-02-08 09:16:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 306
Output for 5.4.34
object(DateTime)#2 (3) { ["date"]=> string(26) "2015-02-08 09:16:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 306
Output for 5.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-09-07 08:15:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.4.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-09-07 08:15:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-09-07 08:15:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.4.28 - 5.4.29
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-09-07 08:15:24" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.4.27
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-09-07 08:15:30" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.3.1 - 5.3.2, 5.3.4 - 5.3.8, 5.3.10, 5.3.12 - 5.3.18, 5.3.21, 5.3.24 - 5.3.25, 5.3.27 - 5.3.28, 5.4.1 - 5.4.6, 5.4.8, 5.4.10, 5.4.15 - 5.4.26
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-03-09 20:31:04" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 5.3.0, 5.3.3, 5.3.9, 5.3.11, 5.3.19 - 5.3.20, 5.3.22 - 5.3.23, 5.3.26, 5.4.0, 5.4.7, 5.4.9, 5.4.11 - 5.4.14
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-03-09 20:31:03" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 28
Output for 5.3.29
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-09-07 08:15:25" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 152
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/AR6oD on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/AR6oD on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/AR6oD on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/AR6oD on line 4

preferences:
234.87 ms | 401 KiB | 314 Q