mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
16 lines
453 B
Plaintext
16 lines
453 B
Plaintext
|
--TEST--
|
||
|
DateTime::sub() -- massive
|
||
|
--CREDITS--
|
||
|
Daniel Convissor <danielc@php.net>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
require 'examine_diff.inc';
|
||
|
define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_SUB);
|
||
|
require 'DateTime_data-massive.inc';
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
test_massive_positive: SUB: 333333-01-01 16:18:02 EST - P+666666Y0M0DT0H0M0S = **-333333-01-01 16:18:02 EST**
|
||
|
test_massive_negative: SUB: -333333-01-01 16:18:02 EST - P-666666Y0M0DT0H0M0S = **333333-01-01 16:18:02 EST**
|