Fstat
(PHP4 >= 4.0rc1)
Fstat---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get information about a file
Syntax: array fstat (int fp)
Description:
Aggregation file index FP file statistics, this function is similar to stat (), the difference is that it is operating in the Open file index to replace the filename.
Returns the statistics for the file, returning an array with the following elements:
Appliance Name
Inode value
Number of links
Owner's User ID
Owner's Group ID
Device Type *
How many bit tuple sizes
Last Accessed time
Last Modified Time
Time of last change
File system I/O chunk size (blocksize) *
Number of allocated blocks
*-is valid only if the system provides a st_blksize type, and other systems, such as Windows, return 1.
The result of this function will exist in the cache buffer, please refer to Clearstatcache () for more information.