filemtime

filemtime -- Get file modification time

Description

int filemtime(string filename);

Returns the time the file was last modified, or false in case of an error. The time is returned as a Unix timestamp.

The results of this function are cached. See clearstatcache() for more details.