Easy Tutorial
❮ Func Curl_Multi_Info_Read Func String Vprintf ❯

PHP filectime() Function



Definition and Usage

The filectime() function returns the last modification time of the specified file.

This function checks both the regular modification of the file and the inode modification. Inode modification refers to changes in permissions, ownership, group, or other metadata.

If successful, the function returns the last modification time of the file as a Unix timestamp. If it fails, it returns FALSE.

Syntax

Parameter Description
filename Required. Specifies the file to check.

Tips and Notes

Note: The result of this function is cached. Use clearstatcache() to clear the cache.

Tip: Use the filemtime() function to return the last modification time of the file's content.


Example

The above code will output:


❮ Func Curl_Multi_Info_Read Func String Vprintf ❯