编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplFileInfo::__construct
  • SplFileInfo::getBasename »
  • PHP Manual
  • SplFileInfo
  • Gets last access time of the file

SplFileInfo::getATime

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::getATime — Gets last access time of the file

说明

public SplFileInfo::getATime ( void ) : int

Gets the last access time for the file.

参数

此函数没有参数。

返回值

Returns the time the file was last accessed.

错误/异常

Throws RunTimeException on error.

参见

  • fileatime() - 取得文件的上次访问时间

相关文章
php directoryiterator get last access time of the current directoryiterator itemphp 数组 函数 gets the last key of an arrayphp eio 函数 change file last access and modification timesphp eio 函数 change file last access and modification timesphp splfileinfo gets last access time of the filephp splfileinfo gets the base name of the filephp splfileinfo gets the file extensionphp splfileinfo gets an splfileinfo object for the filephp splfileinfo gets the file groupphp splfileinfo gets the inode for the filephp splfileinfo gets the last modified timephp splfileinfo gets the owner of the filephp splfileinfo gets the path to the filephp splfileinfo gets file permissionsphp splfileinfo gets absolute path to filephp splfileinfo gets file sizephp splfileinfo gets file typephp splfileinfo tells if the file is a directoryphp splfileinfo gets an splfileobject object for the filephp splfileobject gets line from file
关注编程学问公众号
编程学问网 湘ICP备20001732号