From:             Bryan dot Gallant at hma dot com
Operating system: Windows Server 2008
PHP version:      5.2.6
PHP Bug Type:     Filesystem function related
Bug description:  filesystem time functions

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 )

-- 
Edit bug report at http://bugs.php.net/?id=45447&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45447&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45447&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45447&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45447&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45447&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45447&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45447&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45447&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45447&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45447&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45447&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45447&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45447&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45447&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45447&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45447&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45447&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45447&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45447&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45447&r=mysqlcfg

Reply via email to