PHP fstat() Function

PHP fstat Function


Definition :

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.

Syntax

    fstat(file)

Parameter 
Parameter Description
file Required. Specifies the open file to check

Given below example Return information about the open file:

Output :