(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)
The PharFileInfo class provides a high-level interface to the contents and attributes of a single file within a phar archive.
$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObject