]> granicus.if.org Git - php/commitdiff
tm_yday may be 0
authorAntony Dovgal <tony2001@php.net>
Thu, 24 Aug 2006 11:27:20 +0000 (11:27 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 24 Aug 2006 11:27:20 +0000 (11:27 +0000)
ext/standard/tests/time/bug38524.phpt

index 4a2abe9cecba71339aab4847396f23bd9266bd57..e9ccaaf38ab0498016dec376711aa690577471a4 100755 (executable)
@@ -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) ""
 }