How to edit the wnos.ini file


(PHP 4, PHP 5, PHP 7, PHP 8)

fstat - Collects information about a file using an open file pointer


fstat (resource): array

Collects the statistics of the file opened by the file pointer. This function is similar to the stat () function, except that it works with an open file pointer instead of a file name.

Parameter list

A file system resource, as usually returned by fopen ().

Return values

Returns an array with the statistics of the file. The format of the array is described in detail on the stat () manual page.


Example 1 fstat ()-Example

The example shown above produces output similar to:

Array ([dev] => 771 [ino] => 488704 [mode] => 33188 [nlink] => 1 [uid] => 0 [gid] => 0 [rdev] => 0 [size] => 1114 [atime] => 1061067181 [mtime] => 1056136526 [ctime] => 1056136526 [blksize] => 4096 [blocks] => 8)


Note: This function cannot work with remote files because the file to be edited must be accessible via the server's file system.

tom at bitworks dot de
broom at alturnanetworks dot com