Search Results
fstat (PHP 4, PHP 5, PHP 7, PHP 8) fstat — Gets information about a file using an open file pointer
Definition and Usage The fstat () function returns information about an open file. Note: The results from this function will differ from server to server. The array may contain the number index, the name index, or both. Tip: This function is similar to stat (), except that with this function the file must be open. Syntax
Jul 11, 2025 · The fstat () function in PHP is an inbuilt function which is used to return information about an open file. The file name is sent as a parameter to the fstat () function and it returns an array with the following elements :
Rassemble les informations sur le fichier dont on connaît le pointeur stream. fstat () est similaire à la fonction stat (), hormis le fait qu'elle utilise un pointeur de fichier, au lieu d'un nom de fichier.
The PHP Filesystem fstat() function is used to return information about an open file. This function can get statistics of the file opened by file pointer handle. This function is just like the stat() function except that it can operate on an open
PHP fstat function tutorial shows how to get file status information in PHP. Learn fstat with practical examples.
(PHP 4 >= 4.0RC1) fstat -- Gets information about a file using an open file pointer
