3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d1 = new DateTime('2009-11-13'); $d2 = new DateTime('now'); var_dump($d1->diff($d2));
Output for 7.1.0
object(DateInterval)#3 (16) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(31) ["f"]=> float(0.003977) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1711) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.28, 7.0.14
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(31) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1711) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.6
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(20) ["h"]=> int(0) ["i"]=> int(48) ["s"]=> int(21) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2363) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.5
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(20) ["h"]=> int(14) ["i"]=> int(10) ["s"]=> int(32) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2332) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.4
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(3) ["d"]=> int(25) ["h"]=> int(23) ["i"]=> int(9) ["s"]=> int(16) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2308) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.3
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(4) ["h"]=> int(23) ["i"]=> int(34) ["s"]=> int(30) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2316) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.2
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(8) ["h"]=> int(10) ["i"]=> int(16) ["s"]=> int(50) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2320) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.1
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(10) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(10) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2322) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.0.0
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(13) ["h"]=> int(13) ["i"]=> int(0) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2325) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.21
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(18) ["h"]=> int(19) ["i"]=> int(43) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2361) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.20
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(27) ["h"]=> int(9) ["i"]=> int(25) ["s"]=> int(53) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2339) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.19
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(3) ["d"]=> int(22) ["h"]=> int(20) ["i"]=> int(36) ["s"]=> int(2) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2305) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.18
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(1) ["h"]=> int(9) ["i"]=> int(5) ["s"]=> int(27) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2313) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.17
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(6) ["h"]=> int(4) ["i"]=> int(9) ["s"]=> int(56) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2318) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.16
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(14) ["h"]=> int(14) ["i"]=> int(44) ["s"]=> int(38) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2326) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.15
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(15) ["h"]=> int(15) ["i"]=> int(43) ["s"]=> int(34) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2327) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.14
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(19) ["h"]=> int(18) ["i"]=> int(24) ["s"]=> int(54) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2331) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.13
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(1) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(46) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2344) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.12
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(6) ["h"]=> int(11) ["i"]=> int(26) ["s"]=> int(5) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2349) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.11
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(9) ["h"]=> int(18) ["i"]=> int(43) ["s"]=> int(59) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2352) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.10
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(11) ["h"]=> int(20) ["i"]=> int(22) ["s"]=> int(17) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2354) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.9
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(14) ["h"]=> int(1) ["i"]=> int(27) ["s"]=> int(16) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2357) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.8
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(16) ["h"]=> int(9) ["i"]=> int(1) ["s"]=> int(15) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2359) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.6.7
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(6) ["d"]=> int(11) ["h"]=> int(18) ["i"]=> int(53) ["s"]=> int(45) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2384) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.35
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(6) ["d"]=> int(8) ["h"]=> int(22) ["i"]=> int(56) ["s"]=> int(49) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2381) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.34
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(28) ["h"]=> int(15) ["i"]=> int(14) ["s"]=> int(23) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2340) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.33
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(3) ["d"]=> int(24) ["h"]=> int(10) ["i"]=> int(20) ["s"]=> int(47) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2307) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.32
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(2) ["h"]=> int(19) ["i"]=> int(22) ["s"]=> int(55) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2314) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.31
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(7) ["h"]=> int(7) ["i"]=> int(4) ["s"]=> int(7) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2319) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.30
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(4) ["d"]=> int(18) ["h"]=> int(17) ["i"]=> int(47) ["s"]=> int(30) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2330) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.29
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(3) ["h"]=> int(12) ["i"]=> int(24) ["s"]=> int(52) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2346) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.28
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(7) ["h"]=> int(14) ["i"]=> int(36) ["s"]=> int(2) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2350) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.27
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(15) ["s"]=> int(3) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2351) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.26
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(12) ["h"]=> int(22) ["i"]=> int(37) ["s"]=> int(2) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2355) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.25
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(15) ["h"]=> int(4) ["i"]=> int(43) ["s"]=> int(58) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2358) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.5.24
object(DateInterval)#3 (15) { ["y"]=> int(6) ["m"]=> int(5) ["d"]=> int(17) ["h"]=> int(12) ["i"]=> int(22) ["s"]=> int(19) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2360) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.45
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(9) ["d"]=> int(30) ["h"]=> int(7) ["i"]=> int(11) ["s"]=> int(33) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2129) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.44
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(9) ["d"]=> int(30) ["h"]=> int(7) ["i"]=> int(11) ["s"]=> int(31) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2129) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.43
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(9) ["d"]=> int(30) ["h"]=> int(7) ["i"]=> int(11) ["s"]=> int(27) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2129) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.42
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(7) ["d"]=> int(25) ["h"]=> int(20) ["i"]=> int(52) ["s"]=> int(18) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2063) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.41
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(6) ["d"]=> int(13) ["h"]=> int(8) ["i"]=> int(21) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(2020) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.39 - 5.4.40
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(5) ["d"]=> int(19) ["h"]=> int(12) ["i"]=> int(43) ["s"]=> int(41) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1996) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.38
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(3) ["d"]=> int(16) ["h"]=> int(1) ["i"]=> int(58) ["s"]=> int(27) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1934) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.36 - 5.4.37
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(2) ["d"]=> int(24) ["h"]=> int(10) ["i"]=> int(34) ["s"]=> int(26) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1911) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.35
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(0) ["d"]=> int(3) ["h"]=> int(12) ["i"]=> int(16) ["s"]=> int(37) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1829) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.34
object(DateInterval)#3 (15) { ["y"]=> int(5) ["m"]=> int(0) ["d"]=> int(3) ["h"]=> int(12) ["i"]=> int(16) ["s"]=> int(36) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1829) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.32
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(9) ["d"]=> int(22) ["h"]=> int(11) ["i"]=> int(29) ["s"]=> int(41) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1756) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.31
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(9) ["d"]=> int(22) ["h"]=> int(11) ["i"]=> int(29) ["s"]=> int(40) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1756) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.20 - 5.4.30
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(35) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1711) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.17 - 5.4.19
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(36) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1711) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.0 - 5.4.16
object(DateInterval)#3 (8) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(36) ["invert"]=> int(0) ["days"]=> int(1711) }
Output for 5.3.29
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(9) ["d"]=> int(22) ["h"]=> int(11) ["i"]=> int(29) ["s"]=> int(39) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1756) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.3.27 - 5.3.28
object(DateInterval)#3 (15) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(37) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(1711) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.3.9 - 5.3.26
object(DateInterval)#3 (8) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(37) ["invert"]=> int(0) ["days"]=> int(1711) }
Output for 5.3.0 - 5.3.8
object(DateInterval)#3 (8) { ["y"]=> int(4) ["m"]=> int(8) ["d"]=> int(8) ["h"]=> int(17) ["i"]=> int(22) ["s"]=> int(38) ["invert"]=> int(0) ["days"]=> int(1711) }
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/9idZ2 on line 6
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/9idZ2 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/9idZ2 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/9idZ2 on line 3