SplFileInfo::getATime

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

SplFileInfo::getATimeGets last access time of the file

說明

public SplFileInfo::getATime(): int|false

Gets the last access time for the file.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the time the file was last accessed on success, or false on failure.

錯誤/異常

Throws RunTimeException on error.

參見