diff options
Diffstat (limited to 'ext/date/tests/strtotime-relative.phpt')
-rw-r--r-- | ext/date/tests/strtotime-relative.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/date/tests/strtotime-relative.phpt b/ext/date/tests/strtotime-relative.phpt index 769cd2ec2e..293223bb2d 100644 --- a/ext/date/tests/strtotime-relative.phpt +++ b/ext/date/tests/strtotime-relative.phpt @@ -14,28 +14,28 @@ $offsets = array( '86400 seconds', '86401 seconds', '112913 seconds', - + // offset around 7 days '134 hours', '167 hours', '168 hours', '169 hours', '183 hours', - + // offset around 6 months '178 days', '179 days', '180 days', '183 days', '184 days', - + // offset around 10 years '115 months', '119 months', '120 months', '121 months', '128 months', - + // offset around 25 years (can't do much more reliably with strtotime) '24 years', '25 years', @@ -46,7 +46,7 @@ foreach ($offsets AS $offset) { foreach (array('+', '-') AS $direction) { echo "$direction$offset: " . date(DATE_ISO8601, strtotime("$direction$offset", $base_time)) . "\n"; } -} +} ?> --EXPECT-- |