#45447 [Opn->Fbk]: filesystem time functions

From: Date: Mon, 07 Jul 2008 21:50:54 +0000
Subject: #45447 [Opn->Fbk]: filesystem time functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126352@lists.php.net to get a copy of this message
 ID:               45447
 Updated by:       jani@php.net
 Reported By:      Bryan dot Gallant at hma dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Windows Server 2008
 PHP Version:      5.2.6
 New Comment:

And $file is..?


Previous Comments:
------------------------------------------------------------------------

[2008-07-07 19:10:34] 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 )


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45447&edit=1



Thread (11 messages)

« previous php.bugs (#126352) next »