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.

参数

此函数没有参数。

返回值

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

错误/异常

Throws RunTimeException on error.

参见

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有