PHP :: Bug #45447 :: filesystem time functions
| Bug #45447 | filesystem time functions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2008-07-07 19:10 UTC | Modified: | 2009-08-17 08:43 UTC |
|
||||||
| From: | Bryan dot Gallant at hma dot com | Assigned: | pajoye (profile) | |||||||
| Status: | Closed | Package: | Filesystem function related | |||||||
| PHP Version: | 5.2.6 | OS: | Windows Server 2008 | |||||||
| Private report: | No | CVE-ID: | None | |||||||
[2008-07-07 19:10 UTC] Bryan dot Gallant at hma dot com
Description:
------------
All Time related Statistics for Files return "-1".
W2K8/IIS7
Reproduce code:
---------------
print_r(stat($file));
Expected result:
----------------
Unix timestamp on atime,mtime,ctime
Actual result:
--------------
Array ( [0] => 0
[1] => 0
[2] => 33188
[3] => 1
[4] => 0
[5] => 0
[6] => -1
[7] => 0
[8] => -1
[9] => -1
[10] => -1
[11] => -1
[12] => -1
[dev] => 0
[ino] => 0
[mode] => 33188
[nlink] => 1
[uid] => 0
[gid] => 0
[rdev] => -1
[size] => 0
[atime] => -1
[mtime] => -1
[ctime] => -1
[blksize] => -1
[blocks] => -1 )
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2008-07-07 23:57 UTC] Bryan dot Gallant at hma dot com
[2008-07-08 00:12 UTC] Bryan dot Gallant at hma dot com
[2008-08-04 21:13 UTC] Bryan dot Gallant at hma dot com
[2008-08-13 06:55 UTC] jani@php.net
[2008-08-13 07:46 UTC] pajoye@php.net
[2008-08-23 01:00 UTC] php-bugs at lists dot php dot net