Annotation of embedaddon/php/ext/date/tests/DateTime_diff-massive.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DateTime::diff() -- massive
! 3: --CREDITS--
! 4: Daniel Convissor <danielc@php.net>
! 5: --FILE--
! 6: <?php
! 7:
! 8: require 'examine_diff.inc';
! 9: define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF);
! 10: require 'DateTime_data-massive.inc';
! 11:
! 12: ?>
! 13: --EXPECT--
! 14: test_massive_positive: DIFF: 333333-01-01 16:18:02 EST - -333333-01-01 16:18:02 EST = **P+666666Y0M0DT0H0M0S**
! 15: test_massive_negative: DIFF: -333333-01-01 16:18:02 EST - 333333-01-01 16:18:02 EST = **P-666666Y0M0DT0H0M0S**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>