Gathers the statistics of the file named by filename. If filename is a symbolic link, statistics are from the file itself, not the symlink. lstat() is identical to stat() except it would instead be based off the symlinks status.
In case of error, stat() returns FALSE
Returns an array with the statistics of the file with the following elements:
device
inode
inode protection mode
number of links
user id of owner
group id owner
device type if inode device *
size in bytes
time of last access
time of last modification
time of last change
blocksize for filesystem I/O *
number of blocks allocated
Замечание: The results of this function are cached. See clearstatcache() for more details.
Замечание: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.
See also lstat(), filemtime(), and filegroup().
Пред. | Начало | След. |
set_file_buffer | Уровень выше | symlink |