1--TEST-- 2DateTime::diff() -- absolute 3--CREDITS-- 4Daniel Convissor <danielc@php.net> 5--FILE-- 6<?php 7 8require 'examine_diff.inc'; 9define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF); 10require 'DateTime_data-absolute.inc'; 11 12?> 13--EXPECT-- 14test_absolute_7: DIFF: 2009-01-14 00:00:00 EST - 2009-01-07 00:00:00 EST = **P+0Y0M7DT0H0M0S** 15test_absolute_negative_7: DIFF: 2009-01-07 00:00:00 EST - 2009-01-14 00:00:00 EST = **P+0Y0M7DT0H0M0S** 16