From 806d9fe71bbe269775bc54579ba4000e77ad8339 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 24 Aug 2006 11:27:20 +0000 Subject: [PATCH] tm_yday may be 0 --- ext/standard/tests/time/bug38524.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/time/bug38524.phpt b/ext/standard/tests/time/bug38524.phpt index 4a2abe9cec..e9ccaaf38a 100755 --- a/ext/standard/tests/time/bug38524.phpt +++ b/ext/standard/tests/time/bug38524.phpt @@ -5,7 +5,7 @@ Bug #38524 (strptime() does not initialize the internal date storage structure) var_dump(strptime('2006-08-20', '%Y-%m-%d')); ?> ===DONE=== ---EXPECT-- +--EXPECTF-- array(9) { ["tm_sec"]=> int(0) @@ -22,7 +22,7 @@ array(9) { ["tm_wday"]=> int(0) ["tm_yday"]=> - int(231) + int(%d) ["unparsed"]=> string(0) "" } -- 2.50.1