Annotation of embedaddon/php/ext/date/tests/DateTime_sub-massive.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DateTime::sub() -- 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_SUB);
10: require 'DateTime_data-massive.inc';
11:
12: ?>
13: --EXPECT--
14: test_massive_positive: SUB: 333333-01-01 16:18:02 EST - P+666666Y0M0DT0H0M0S = **-333333-01-01 16:18:02 EST**
15: test_massive_negative: SUB: -333333-01-01 16:18:02 EST - P-666666Y0M0DT0H0M0S = **333333-01-01 16:18:02 EST**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>