(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.
$file_name
$suffix
$class
null
$mode
$useIncludePath
false
$context