Easy Tutorial
❮ Pdostatement Debugdumpparams Func Ftp Alloc ❯

PHP filemtime() Function



Definition and Usage

The filemtime() function returns the last modified time of the file content.

If successful, this function returns the last modified time of the file content 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.


Example

The above code will output:

❮ Pdostatement Debugdumpparams Func Ftp Alloc ❯