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("%h");
Output for 8.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.007256" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.006973" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003723" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004336" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003787" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.006866" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.006877" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003850" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003994" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003905" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003920" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004500" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.005318" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003852" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003769" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004148" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004013" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003904" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003805" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003736" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003760" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003979" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.005195" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003877" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003546" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.1, 8.1.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003591" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004418" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.005154" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003750" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003708" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004249" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003628" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004441" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003919" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003801" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003595" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003663" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004567" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003606" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003614" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003582" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003518" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003442" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003439" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003990" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003680" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003476" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.28, 8.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003588" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004051" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.1.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003785" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003418" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003432" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003424" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003203" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003333" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004322" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003037" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003569" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003573" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003089" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003493" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003523" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003367" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003492" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003717" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004335" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:29:52.002131" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 20
Output for 8.0.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003786" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003811" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003943" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003510" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.007799" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003504" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003570" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003330" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.010318" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009620" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003457" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 8.0.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008941" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.002010" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003021" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.002851" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003557" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003257" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003171" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.004422" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003313" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003294" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003188" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009051" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.007209" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003397" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003304" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.010571" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008459" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008538" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008594" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009523" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.010557" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.010746" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009067" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008541" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008121" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000399" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.002505" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003148" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008218" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.9, 7.4.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000204" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.4.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000163" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:29:52.002002" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 20
Output for 7.3.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 19:29:52.002077" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } 20
Output for 7.3.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003599" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.003466" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.007272" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008746" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008724" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009162" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008795" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009549" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009399" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009351" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.011485" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009115" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.18
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.005806" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.011360" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008578" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000183" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000238" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000192" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.17, 7.3.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000226" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.10, 7.3.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000180" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000165" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.7
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000212" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.18, 7.3.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000176" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000161" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000210" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000219" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000141" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.3.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000123" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.8, 7.3.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000138" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.33
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009422" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.011861" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.010216" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.009173" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.29
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.008787" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000233" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.25
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000241" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000184" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.1, 7.2.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000215" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.22
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000169" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.29, 7.2.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000157" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000236" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.11, 7.2.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000159" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.16
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000225" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.15
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000194" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.14
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000132" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.33, 7.2.7, 7.2.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000129" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000208" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.11
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000190" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.10
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000145" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.0, 7.2.9
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000130" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.14, 7.2.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000207" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000140" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.22, 7.2.4
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000121" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000164" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.7, 7.2.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000142" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.2.0
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000128" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.4, 7.1.18, 7.1.25, 7.1.32
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000147" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.31
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000120" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.30
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000127" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.28
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000227" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.27
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000230" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.15 - 7.1.16, 7.1.26
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000124" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.24
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000209" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.23
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000200" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.21
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000125" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.20
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000139" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.19
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000155" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.17
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000181" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.13
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000186" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.12
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000202" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.8
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000187" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000191" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.5
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000174" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.38, 5.6.0 - 5.6.17, 5.6.20 - 5.6.40, 7.0.0 - 7.0.3, 7.0.7 - 7.0.33, 7.1.3
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.2
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000131" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 7.1.1
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:52.000166" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 5.6.18 - 5.6.19, 7.0.4 - 7.0.6
object(DateTime)#2 (3) { ["date"]=> string(26) "2014-03-09 20:29:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
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-03-09 20:29:52" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } 19
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/huYnQ 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/huYnQ 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/huYnQ 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/huYnQ on line 4

preferences:
373.28 ms | 401 KiB | 456 Q