stat
Gives information about a file
Description
arraystat
stringfilename
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
* - only valid on systems supporting the st_blksize type--other
systems (i.e. Windows) return -1.
¬e.clearstatcache;
¬e.no-remote;
See also lstat,
filemtime, and
filegroup.