SplFileInfo::getATime

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

SplFileInfo::getATimeファイルの最終アクセス時刻を取得する

説明

public SplFileInfo::getATime(): int

ファイルの最終アクセス時刻を取得します。

パラメータ

この関数にはパラメータはありません。

返り値

ファイルに最後にアクセスがあった時刻を返します。

エラー / 例外

エラー時に RunTimeException をスローします。

参考

  • fileatime() - ファイルの最終アクセス時刻を取得する

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top