Name
fstat
Synopsis
array fstat(int handle
)
Returns an associative array of information about the file
referenced by handle
. The following
values (given here with their numeric and key indices) are included
in the array:
| The device on which the file resides |
| The file’s inode |
| The mode with which the file was opened |
| The number of links to this file |
| The user ID of the file’s owner |
| The group ID of the file’s owner |
| The device type (if the file is on an inode device) |
| The file’s size (in bytes) |
| The time of last access (in Unix timestamp format) |
| The time of last modification (in Unix timestamp format) |
| The time the file was created (in Unix timestamp format) |
| The blocksize (in bytes) for the filesystem |
| The number of blocks allocated to the file |
Get Programming PHP, 2nd Edition 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.