Define :
In this tutorial we have to learned about PHP stat() Function.The stat() Function
inbuilt function in php.This function is used to returns information (statistics) about a file specified by filename. If filename is a symbolic link, information about the file itself is returned, not the symlink.
stat(filename)
Parameter | Description |
---|---|
filename | Required. Specifies the path to the file |
Example :
Output :
Access time: 1645269640
Modification time: 1645269640
Device number: 3156796686