3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime('now'); $date = DateTime::createFromFormat('YmdHis', '2004' . $now->format('md') . '235959'); $diff = $date->diff($now, true); printf( 'Got %s and expected %s', $now->sub($diff)->format(DateTime::ISO8601), $date->format(DateTime::ISO8601) ); var_dump($diff);
Output for 8.0.11
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003881) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.10
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003684) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.9
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003485) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.8
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008199) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.7
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003604) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.6
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003898) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.5
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.004087) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.3
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009172) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.2
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009917) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.1
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003891) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 8.0.0
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009445) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.24
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003329) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.23
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003215) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.22
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008797) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.21
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.010167) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.20
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003164) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.19
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003334) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.16
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.010046) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.15
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008661) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.14
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.01345) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.13
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008766) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.12
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.011657) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.11
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.00972) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.10
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.014612) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.9
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.010776) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.8
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009441) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.7
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008213) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.6
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.000346) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.5
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.002243) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.4
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.004784) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.3
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.012044) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.4.0
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.000334) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.30
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003226) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.29
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.007089) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.28
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009726) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.27
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.013455) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.26
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.014033) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.25
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.00896) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.24
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.011933) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.23
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008697) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.21
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.007983) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.20
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008902) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.19
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.011012) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.18
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.00511) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.17
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.007718) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.16
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.009585) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.3.12
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.000172) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.33
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.010005) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.32
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.013871) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.31
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008809) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.30
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.012831) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.29
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.008466) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.6
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.002085) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.2.0
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003693) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.20
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.004112) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.10
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.00383) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.7
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.00246) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.6
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.012555) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.5
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.01254) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 7.1.0
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (16) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["f"]=> float(0.003563) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["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.29, 5.4.17 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (15) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3286) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.3.3 - 5.3.26, 5.4.0 - 5.4.16
Got 2004-11-25T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (8) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(30) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["invert"]=> int(0) ["days"]=> int(3286) }
Output for 5.3.0 - 5.3.2
Got 2004-11-26T23:59:59+0100 and expected 2004-11-26T23:59:59+0100object(DateInterval)#3 (8) { ["y"]=> int(8) ["m"]=> int(11) ["d"]=> int(29) ["h"]=> int(9) ["i"]=> int(56) ["s"]=> int(34) ["invert"]=> int(0) ["days"]=> int(3286) }
Output for 5.2.10 - 5.2.17
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/ABuvK on line 4
Process exited with code 255.
Output for 5.2.0 - 5.2.9
Fatal error: Call to undefined method DateTime::createfromformat() in /in/ABuvK on line 4
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/ABuvK on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/ABuvK on line 10
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/ABuvK on line 10
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/ABuvK on line 10
Process exited with code 255.

preferences:
201.94 ms | 401 KiB | 274 Q