3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime('now'); $date = DateTime::createFromFormat('YmdHis', '2004' . $now->format('md') . '000000'); $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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003577) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003367) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003522) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.007546) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003772) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003613) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003598) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012961) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010408) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.0036) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.011505) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.00321) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003378) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008802) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.006797) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003666) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003387) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008748) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010045) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008504) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.011758) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.015297) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008614) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.009781) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012023) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012737) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008609) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.000307) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.002151) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.004671) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.011441) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.00033) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003312) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012838) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010747) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012699) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.009669) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.01063) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008847) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008579) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008366) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010487) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008723) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.006404) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010924) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.008524) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.00026) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.009865) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.011845) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.013078) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.010589) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.009249) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003403) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003912) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.00414) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003264) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.002846) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012541) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.012534) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (16) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["f"]=> float(0.003585) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["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-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (15) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["weekday"]=> int(0) ["weekday_behavior"]=> int(0) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> int(3287) ["special_type"]=> int(0) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(0) ["have_special_relative"]=> int(0) }
Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
Got 2004-11-26T00:00:00+0100 and expected 2004-11-26T00:00:00+0100object(DateInterval)#3 (8) { ["y"]=> int(9) ["m"]=> int(0) ["d"]=> int(0) ["h"]=> int(9) ["i"]=> int(52) ["s"]=> int(22) ["invert"]=> int(0) ["days"]=> int(3287) }
Output for 5.2.10 - 5.2.17
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/pqHe5 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/pqHe5 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/pqHe5 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/pqHe5 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/pqHe5 on line 10
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/pqHe5 on line 10
Process exited with code 255.

preferences:
217.68 ms | 401 KiB | 271 Q