1--TEST-- 2DateTime::diff() days -- dates 3--CREDITS-- 4Daniel Convissor <danielc@php.net> 5--FILE-- 6<?php 7 8require 'examine_diff.inc'; 9define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DAYS); 10require 'DateTime_data-dates.inc'; 11 12?> 13--EXPECT-- 14test__7: DAYS: **7** 15test_years_positive__7_by_0_day: DAYS: **2557** 16test_years_positive__7_by_1_day: DAYS: **2558** 17test_years_positive__6_shy_1_day: DAYS: **2556** 18test_years_positive__7_by_1_month: DAYS: **2585** 19test_years_positive__6_shy_1_month: DAYS: **2526** 20test_years_positive__7_by_1_month_split_newyear: DAYS: **2588** 21test_years_positive__6_shy_1_month_split_newyear: DAYS: **2526** 22test_negative__7: DAYS: **7** 23test_years_negative__7_by_0_day: DAYS: **2557** 24test_years_negative__7_by_1_day: DAYS: **2558** 25test_years_negative__6_shy_1_day: DAYS: **2556** 26test_years_negative__7_by_1_month: DAYS: **2585** 27test_years_negative__6_shy_1_month: DAYS: **2526** 28test_years_negative__7_by_1_month_split_newyear: DAYS: **2588** 29test_years_negative__6_shy_1_month_split_newyear: DAYS: **2526** 30