3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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); echo $diff->format('%a Day and %h hours'); echo "\n"; var_dump($diff); echo"\n\n"; echo $diff->d;
based on oc5vg
Output for 7.1.0
2 Day and 5 hours object(DateInterval)#3 (16) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(8) ["f"]=> float(0.004072) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(2) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 5.6.28, 7.0.14
2 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(8) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(2) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 7.0.6
615 Day and 19 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(7) ["h"]=> int(19) ["i"]=> int(17) ["s"]=> int(33) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(615) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 7
Output for 7.0.5
585 Day and 8 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(7) ["h"]=> int(8) ["i"]=> int(8) ["s"]=> int(13) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(585) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 7
Output for 7.0.4
561 Day and 18 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(14) ["h"]=> int(18) ["i"]=> int(41) ["s"]=> int(38) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(561) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 14
Output for 7.0.3
569 Day and 19 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(22) ["h"]=> int(19) ["i"]=> int(19) ["s"]=> int(27) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(569) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 22
Output for 7.0.2
574 Day and 1 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(27) ["h"]=> int(1) ["i"]=> int(12) ["s"]=> int(59) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(574) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 27
Output for 7.0.1
575 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(28) ["h"]=> int(5) ["i"]=> int(57) ["s"]=> int(10) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(575) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 28
Output for 7.0.0
578 Day and 7 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(0) ["h"]=> int(7) ["i"]=> int(29) ["s"]=> int(55) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(578) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 0
Output for hhvm-3.12.0
563 Day and 21 hours object(DateInterval)#3 (0) { } 16
Output for hhvm-3.10.0
581 Day and 20 hours object(DateInterval)#3 (0) { } 3
Output for 5.6.21
614 Day and 14 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(6) ["h"]=> int(14) ["i"]=> int(38) ["s"]=> int(21) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(614) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 6
Output for 5.6.20
592 Day and 7 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(14) ["h"]=> int(7) ["i"]=> int(5) ["s"]=> int(5) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(592) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 14
Output for 5.6.19
559 Day and 2 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(12) ["h"]=> int(2) ["i"]=> int(49) ["s"]=> int(28) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(559) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 12
Output for 5.6.18
566 Day and 10 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(19) ["h"]=> int(10) ["i"]=> int(46) ["s"]=> int(20) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(566) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 19
Output for 5.6.17
570 Day and -1 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(24) ["h"]=> int(-1) ["i"]=> int(34) ["s"]=> int(22) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(570) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 24
Output for 5.6.16
579 Day and 9 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(1) ["h"]=> int(9) ["i"]=> int(15) ["s"]=> int(2) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(579) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 1
Output for 5.6.15
580 Day and 10 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(2) ["h"]=> int(10) ["i"]=> int(20) ["s"]=> int(17) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(580) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 5.6.14
584 Day and 12 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(6) ["h"]=> int(12) ["i"]=> int(41) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(584) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 6
Output for 5.6.13
597 Day and 16 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(19) ["h"]=> int(16) ["i"]=> int(35) ["s"]=> int(48) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(597) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 19
Output for 5.6.12
602 Day and 6 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(24) ["h"]=> int(6) ["i"]=> int(20) ["s"]=> int(32) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(602) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 24
Output for 5.6.11
605 Day and 13 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(27) ["h"]=> int(13) ["i"]=> int(24) ["s"]=> int(18) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(605) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 27
Output for 5.6.10
607 Day and 15 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(29) ["h"]=> int(15) ["i"]=> int(8) ["s"]=> int(22) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(607) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 29
Output for 5.6.9
609 Day and 20 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(0) ["h"]=> int(20) ["i"]=> int(6) ["s"]=> int(12) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(609) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 0
Output for 5.6.8
612 Day and 4 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(3) ["h"]=> int(4) ["i"]=> int(12) ["s"]=> int(58) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(612) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 3
Output for 5.5.35
634 Day and 18 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(26) ["h"]=> int(18) ["i"]=> int(21) ["s"]=> int(42) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(634) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 26
Output for 5.5.34
593 Day and 9 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(15) ["h"]=> int(9) ["i"]=> int(25) ["s"]=> int(28) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(593) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 15
Output for 5.5.33
560 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(13) ["h"]=> int(5) ["i"]=> int(46) ["s"]=> int(30) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(560) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 13
Output for 5.5.32
568 Day and 12 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(21) ["h"]=> int(12) ["i"]=> int(27) ["s"]=> int(30) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(568) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 21
Output for 5.5.31
572 Day and 2 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(25) ["h"]=> int(2) ["i"]=> int(20) ["s"]=> int(12) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(572) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.5.30
583 Day and 12 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(5) ["h"]=> int(12) ["i"]=> int(16) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(583) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 5
Output for 5.5.29
599 Day and 6 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(21) ["h"]=> int(6) ["i"]=> int(41) ["s"]=> int(4) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(599) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 21
Output for 5.5.28
603 Day and 9 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(25) ["h"]=> int(9) ["i"]=> int(26) ["s"]=> int(5) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(603) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.5.27
604 Day and 11 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(26) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(23) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(604) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 26
Output for 5.5.26
608 Day and 17 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(30) ["h"]=> int(17) ["i"]=> int(35) ["s"]=> int(8) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(608) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 30
Output for 5.5.25
610 Day and 23 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(1) ["h"]=> int(23) ["i"]=> int(53) ["s"]=> int(16) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(610) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 1
Output for 5.5.24
636 Day and 7 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(8) ["d"]=> int(28) ["h"]=> int(7) ["i"]=> int(14) ["s"]=> int(13) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(636) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 28
Output for 5.4.45
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(22) ["s"]=> int(0) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.44
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(54) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.43
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(49) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.42
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(47) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.41
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(45) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.40
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(42) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.39
390 Day and 22 hours object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(25) ["h"]=> int(22) ["i"]=> int(21) ["s"]=> int(40) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(390) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 25
Output for 5.4.38
199 Day and 8 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(6) ["d"]=> int(18) ["h"]=> int(8) ["i"]=> int(6) ["s"]=> int(48) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(199) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 18
Output for 5.4.36 - 5.4.37
199 Day and 8 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(6) ["d"]=> int(18) ["h"]=> int(8) ["i"]=> int(6) ["s"]=> int(40) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(199) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 18
Output for 5.4.34 - 5.4.35
199 Day and 8 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(6) ["d"]=> int(18) ["h"]=> int(8) ["i"]=> int(6) ["s"]=> int(39) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(199) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 18
Output for 5.4.31 - 5.4.32
2 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(11) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(2) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 5.4.17 - 5.4.30
2 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(12) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(2) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 5.4.10 - 5.4.16
2 Day and 5 hours object(DateInterval)#3 (8) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(12) ["invert"]=> int(1) ["days"]=> int(2) } 2
Output for 5.3.20 - 5.3.26, 5.4.0 - 5.4.9
2 Day and 5 hours object(DateInterval)#3 (8) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(13) ["invert"]=> int(1) ["days"]=> int(2) } 2
Output for 5.3.27 - 5.3.29
2 Day and 5 hours object(DateInterval)#3 (15) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(13) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(2) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) } 2
Output for 5.3.0 - 5.3.19
2 Day and 5 hours object(DateInterval)#3 (8) { ["y"]=> int(0) ["m"]=> int(0) ["d"]=> int(2) ["h"]=> int(5) ["i"]=> int(5) ["s"]=> int(14) ["invert"]=> int(1) ["days"]=> int(2) } 2
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined method DateTime::diff() in /in/eCBJO on line 7
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/eCBJO 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/eCBJO 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/eCBJO on line 3