The fileatime() function returns the last access time of the specified file.
This function returns the last access time as a Unix timestamp on success, FALSE on failure.
|filename||Required. Specifies the file to check|
Note: The result of this function are cached. Use clearstatcache() to clear the cache.
Note: Some Unix systems have access time updates disabled, because this function reduces performance for applications that regularly accesses a large number of files.
The output of the code above could be: