From: Antony Dovgal Date: Thu, 24 Aug 2006 11:27:06 +0000 (+0000) Subject: tm_yday may be 0 (Solaris) X-Git-Tag: RELEASE_1_0_0RC1~1894 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fbee1aee34193058f4aa790d319aee301c082d8;p=php tm_yday may be 0 (Solaris) --- 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) "" }