(PHP 5 >= 5.1.2, PHP 7)
The SplFileInfo class offers a high-level object oriented interface to information for an individual file.
$open_mode
= "r"
[, bool $use_include_path
= false
[, resource $context
= null
]]] ) : SplFileObject