diff options
author | Pierre Joye <pajoye@php.net> | 2011-12-07 09:03:07 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-12-07 09:03:07 +0000 |
commit | 8b8dcede6c22081986a67e12c47a9817d79eeb68 (patch) | |
tree | 073df06d0f1698cacfee17bea052d9c146e75f8d | |
parent | ef763c0184b8f8b669ff6eb1a212eb003486c282 (diff) | |
download | php-git-8b8dcede6c22081986a67e12c47a9817d79eeb68.tar.gz |
- print_r seems to display 0 or nothing for days, let make that test works in both cases, that's not the purpose of this test to test print_r
-rw-r--r-- | ext/date/tests/bug48678.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/tests/bug48678.phpt b/ext/date/tests/bug48678.phpt index 7e243351e3..ec39153787 100644 --- a/ext/date/tests/bug48678.phpt +++ b/ext/date/tests/bug48678.phpt @@ -6,7 +6,7 @@ $x = new DateInterval("P3Y6M4DT12H30M5S"); print_r($x); $y = unserialize(serialize($x)); print_r($y); ---EXPECT-- +--EXPECTF-- DateInterval Object ( [y] => 3 @@ -16,7 +16,7 @@ DateInterval Object [i] => 30 [s] => 5 [invert] => 0 - [days] => + [days] =>%s ) DateInterval Object ( @@ -27,5 +27,5 @@ DateInterval Object [i] => 30 [s] => 5 [invert] => 0 - [days] => + [days] =>%s ) |