3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ts = '2014-10-01'; $diff = (new DateTime)->diff(new DateTime($ts)); var_dump($diff);
based on SpKso
Output for 7.2.0
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.00379) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.10
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.003373) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.7
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.003516) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.6
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.012125) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.5
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.012016) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.0
object(DateInterval)#3 (16) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["f"]=> float(0.003995) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["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.20
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(22) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["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(1) ["m"]=> int(7) ["d"]=> int(2) ["h"]=> int(17) ["i"]=> int(34) ["s"]=> int(8) ["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) }
Output for 7.0.5
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(2) ["h"]=> int(6) ["i"]=> int(2) ["s"]=> int(9) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(550) ["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(1) ["m"]=> int(5) ["d"]=> int(9) ["h"]=> int(17) ["i"]=> int(44) ["s"]=> int(4) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(526) ["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(1) ["m"]=> int(5) ["d"]=> int(17) ["h"]=> int(18) ["i"]=> int(32) ["s"]=> int(15) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(534) ["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(1) ["m"]=> int(5) ["d"]=> int(22) ["h"]=> int(0) ["i"]=> int(55) ["s"]=> int(10) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(539) ["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(1) ["m"]=> int(5) ["d"]=> int(23) ["h"]=> int(4) ["i"]=> int(42) ["s"]=> int(55) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(540) ["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(1) ["m"]=> int(5) ["d"]=> int(26) ["h"]=> int(6) ["i"]=> int(39) ["s"]=> int(34) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(543) ["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(1) ["m"]=> int(7) ["d"]=> int(1) ["h"]=> int(12) ["i"]=> int(44) ["s"]=> int(16) ["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) }
Output for 5.6.20
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(9) ["h"]=> int(5) ["i"]=> int(0) ["s"]=> int(56) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(557) ["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(1) ["m"]=> int(5) ["d"]=> int(7) ["h"]=> int(1) ["i"]=> int(53) ["s"]=> int(42) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(524) ["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(1) ["m"]=> int(5) ["d"]=> int(14) ["h"]=> int(10) ["i"]=> int(27) ["s"]=> int(48) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(531) ["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(1) ["m"]=> int(5) ["d"]=> int(18) ["h"]=> int(22) ["i"]=> int(17) ["s"]=> int(55) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(535) ["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(1) ["m"]=> int(5) ["d"]=> int(27) ["h"]=> int(7) ["i"]=> int(26) ["s"]=> int(52) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(544) ["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(1) ["m"]=> int(5) ["d"]=> int(28) ["h"]=> int(8) ["i"]=> int(17) ["s"]=> int(53) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(545) ["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(1) ["m"]=> int(6) ["d"]=> int(1) ["h"]=> int(10) ["i"]=> int(12) ["s"]=> int(10) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(549) ["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(1) ["m"]=> int(6) ["d"]=> int(14) ["h"]=> int(14) ["i"]=> int(32) ["s"]=> int(32) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(562) ["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(1) ["m"]=> int(6) ["d"]=> int(19) ["h"]=> int(5) ["i"]=> int(0) ["s"]=> int(22) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(567) ["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(1) ["m"]=> int(6) ["d"]=> int(23) ["h"]=> int(11) ["i"]=> int(15) ["s"]=> int(33) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(571) ["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(1) ["m"]=> int(6) ["d"]=> int(24) ["h"]=> int(13) ["i"]=> int(26) ["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) }
Output for 5.6.9
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(26) ["h"]=> int(18) ["i"]=> int(35) ["s"]=> int(18) ["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) }
Output for 5.6.8
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(29) ["h"]=> int(3) ["i"]=> int(27) ["s"]=> int(46) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(577) ["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(1) ["m"]=> int(7) ["d"]=> int(21) ["h"]=> int(18) ["i"]=> int(51) ["s"]=> int(57) ["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) }
Output for 5.5.34
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(10) ["h"]=> int(7) ["i"]=> int(14) ["s"]=> int(12) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(558) ["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(1) ["m"]=> int(5) ["d"]=> int(8) ["h"]=> int(4) ["i"]=> int(31) ["s"]=> int(43) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(525) ["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(1) ["m"]=> int(5) ["d"]=> int(16) ["h"]=> int(14) ["i"]=> int(10) ["s"]=> int(6) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(533) ["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(1) ["m"]=> int(5) ["d"]=> int(20) ["h"]=> int(1) ["i"]=> int(15) ["s"]=> int(0) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(537) ["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(1) ["m"]=> int(6) ["d"]=> int(0) ["h"]=> int(10) ["i"]=> int(11) ["s"]=> int(17) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(548) ["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(1) ["m"]=> int(6) ["d"]=> int(16) ["h"]=> int(4) ["i"]=> int(57) ["s"]=> int(9) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(564) ["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(1) ["m"]=> int(6) ["d"]=> int(20) ["h"]=> int(8) ["i"]=> int(12) ["s"]=> int(59) ["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) }
Output for 5.5.27
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(21) ["h"]=> int(10) ["i"]=> int(3) ["s"]=> int(29) ["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) }
Output for 5.5.26
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(6) ["d"]=> int(25) ["h"]=> int(16) ["i"]=> int(8) ["s"]=> int(29) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(573) ["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(1) ["m"]=> int(6) ["d"]=> int(27) ["h"]=> int(22) ["i"]=> int(59) ["s"]=> int(15) ["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) }
Output for 5.5.24
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(7) ["d"]=> int(23) ["h"]=> int(5) ["i"]=> int(37) ["s"]=> int(27) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(601) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.44 - 5.4.45
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(34) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.38 - 5.4.43
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(35) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.31 - 5.4.37
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(36) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.26 - 5.4.30
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(37) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.19 - 5.4.25
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(38) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["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.18
object(DateInterval)#3 (15) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(39) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(1) ["days"]=> int(373) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.4.13 - 5.4.16
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(39) ["invert"]=> int(1) ["days"]=> int(373) }
Output for 5.4.8 - 5.4.12
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(8) ["h"]=> int(11) ["i"]=> int(55) ["s"]=> int(40) ["invert"]=> int(1) ["days"]=> int(373) }
Output for 5.4.7
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(1) ["i"]=> int(14) ["s"]=> int(38) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.6
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(2) ["i"]=> int(27) ["s"]=> int(40) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.5
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(3) ["i"]=> int(57) ["s"]=> int(19) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.4
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(5) ["i"]=> int(24) ["s"]=> int(4) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.3
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(7) ["i"]=> int(2) ["s"]=> int(57) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.2
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(8) ["i"]=> int(45) ["s"]=> int(32) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.4.1
object(DateInterval)#3 (8) { ["y"]=> int(1) ["m"]=> int(0) ["d"]=> int(26) ["h"]=> int(10) ["i"]=> int(33) ["s"]=> int(45) ["invert"]=> int(1) ["days"]=> int(391) }
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/7O5ku on line 5
Process exited with code 255.