Skip to content

Commit

Permalink
- print_r seems to display 0 or nothing for days, let make that test …
Browse files Browse the repository at this point in the history
…works in both cases, that's not the purpose of this test to test print_r
  • Loading branch information
pierrejoye committed Dec 7, 2011
1 parent ef763c0 commit 8b8dced
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/date/tests/bug48678.phpt
Expand Up @@ -6,7 +6,7 @@ $x = new DateInterval("P3Y6M4DT12H30M5S");
print_r($x);
$y = unserialize(serialize($x));
print_r($y);
--EXPECT--
--EXPECTF--
DateInterval Object
(
[y] => 3
Expand All @@ -16,7 +16,7 @@ DateInterval Object
[i] => 30
[s] => 5
[invert] => 0
[days] =>
[days] =>%s
)
DateInterval Object
(
Expand All @@ -27,5 +27,5 @@ DateInterval Object
[i] => 30
[s] => 5
[invert] => 0
[days] =>
[days] =>%s
)

0 comments on commit 8b8dced

Please sign in to comment.