cvs: php-src(PHP_5_2) /ext/standard/tests/time bug38524.phpt
| From: | Antony Dovgal | Date: | Thu, 24 Aug 2006 11:27:20 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/time bug38524.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40089@lists.php.net to get a copy of this message | ||
tony2001 Thu Aug 24 11:27:20 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/time bug38524.phpt
Log:
tm_yday may be 0
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/time/bug38524.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/time/bug38524.phpt
diff -u php-src/ext/standard/tests/time/bug38524.phpt:1.1.2.1
php-src/ext/standard/tests/time/bug38524.phpt:1.1.2.2
--- php-src/ext/standard/tests/time/bug38524.phpt:1.1.2.1 Sun Aug 20 18:20:07 2006
+++ php-src/ext/standard/tests/time/bug38524.phpt Thu Aug 24 11:27:20 2006
@@ -5,7 +5,7 @@
var_dump(strptime('2006-08-20', '%Y-%m-%d'));
?>
===DONE===
---EXPECT--
+--EXPECTF--
array(9) {
["tm_sec"]=>
int(0)
@@ -22,7 +22,7 @@
["tm_wday"]=>
int(0)
["tm_yday"]=>
- int(231)
+ int(%d)
["unparsed"]=>
string(0) ""
}