PHP - Manual: SplFileInfo
2025-02-26
(PHP 5 >= 5.1.2, PHP 7, PHP 8)
The SplFileInfo class offers a high-level object-oriented interface to information for an individual file.
$filename
$suffix
$class
null
$mode
$useIncludePath
false
$context
官方地址:https://www.php.net/manual/en/class.splfileinfo.php