3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = new DateTime('2014-08-26 14:35:29'); $date2 = new DateTime(); // The diff-methods returns a new DateInterval-object... $diff = $date2->diff($date1); var_dump($date2); echo"\n\n"; echo $diff->h;
Output for 8.3.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007114" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006892" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010719" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007417" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006972" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003582" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003928" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003908" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007265" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008583" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006630" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003795" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003956" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003722" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003555" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004378" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.005428" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003818" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004177" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004071" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.005201" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004812" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003656" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003717" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003835" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004473" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003892" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006810" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003907" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003471" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003497" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008273" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.005099" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003814" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003698" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004293" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003858" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003958" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003773" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003770" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003730" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003774" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003199" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003740" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003985" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003560" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003340" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003571" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003693" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003756" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003975" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.18, 8.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003879" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004089" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003688" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003627" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006621" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003329" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003767" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003641" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003452" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003125" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003513" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003120" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003138" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003247" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003685" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003015" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003719" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004167" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003356" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.005918" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003489" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 17:37:45.002071" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 3
Output for 8.0.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003520" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003365" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003408" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003504" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010229" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003579" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003548" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004461" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.013337" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.011600" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.004825" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 8.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.012063" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.002023" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.002836" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003136" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003440" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003424" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003105" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003213" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003427" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003342" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003106" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.015353" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007461" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003264" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.011870" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008771" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008279" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010361" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.009336" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.009275" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008362" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008680" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.012175" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008889" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000281" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.001004" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008645" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008407" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.4.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000256" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 17:37:45.003784" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 3
Output for 7.3.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 17:37:45.003263" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 3
Output for 7.3.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003174" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003668" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010067" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007189" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010839" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.012266" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008933" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.009592" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.009281" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.013239" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008261" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.010583" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006038" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008672" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.009442" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000229" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000227" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.23, 7.3.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000161" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000280" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.27, 7.3.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000164" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000158" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000285" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000302" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000265" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000208" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000166" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000165" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000119" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.012136" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008642" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007968" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008371" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.008415" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.24 - 7.2.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000226" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000249" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000162" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000175" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.17, 7.2.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000154" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000185" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.30, 7.2.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000173" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000284" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.0, 7.2.10, 7.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000131" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.034301" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000107" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000106" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000120" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000143" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.29, 7.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000152" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.006871" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.5, 7.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000102" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000156" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000127" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000135" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000140" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000183" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000205" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000133" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000168" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000179" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.007132" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000099" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000150" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.12, 7.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000125" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000118" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000177" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.017808" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000138" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000095" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000108" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.003496" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.029433" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000137" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000170" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000155" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000210" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000134" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.38, 5.6.0 - 5.6.12, 5.6.14 - 5.6.26, 5.6.28 - 5.6.38, 7.0.0 - 7.0.33, 7.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000103" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000122" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 7.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:45.000176" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 5.6.13, 5.6.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-28 19:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 5.3.0 - 5.3.19, 5.3.22 - 5.3.29, 5.4.0 - 5.4.9, 5.4.11 - 5.4.29, 5.5.0 - 5.5.13
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-08-28 19:37:45" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 5.3.20 - 5.3.21, 5.4.10
object(DateTime)#2 (3) { ["date"]=> string(19) "2014-08-28 19:37:46" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 5
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/69knA on line 7
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/69knA on line 3
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/69knA on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/69knA on line 3

preferences:
277.17 ms | 401 KiB | 452 Q