Verzameld informatie van het bestand filename. Als filename een symbolic link is, dan komt de informatie van het bestand zelf, niet van de symlink. lstat() is gelijk aan stat() behalve dat het de informatie van de symlink zal pakken.
Geeft een array terug met informatie over het bestand, met de volgende elementen:
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
Opmerking: The results of this function are cached. See clearstatcache() for more details.
Opmerking: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.
Zie ook lstat(), filemtime() en filegroup().