summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-12-07 09:03:07 +0000
committerPierre Joye <pajoye@php.net>2011-12-07 09:03:07 +0000
commit321172e479872b5aec998d2a39290e3055ca997a (patch)
tree9a3ec7d7386032e7b44441400195928df22612d5
parent93af22bbb9a5b9bc85e4329ecc65791b27f86350 (diff)
downloadphp-git-321172e479872b5aec998d2a39290e3055ca997a.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.phpt6
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
)