mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
16 lines
453 B
PHP
16 lines
453 B
PHP
--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**
|