Name

stat

Synopsis

$stat = stat($file)

Returns an array of information about file. The elements of the array are as follows:

  1. Inode number

  2. File mode

  3. Number of links to file

  4. UID

  5. GID

  6. Size of file

  7. Atime

  8. Mtime

  9. Ctime

  10. Block size of file system (in bytes)

  11. Number of file system block used

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.