- 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

This commit is contained in:
Pierre Joye 2011-12-07 09:03:07 +00:00
parent 93af22bbb9
commit 321172e479

View File

@ -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
)