array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'class.pharfileinfo.php', 1 => 'PharFileInfo', ), 'up' => array ( 0 => 'book.phar.php', 1 => 'Phar', ), 'prev' => array ( 0 => 'phardata.setstub.php', 1 => 'PharData::setStub', ), 'next' => array ( 0 => 'pharfileinfo.chmod.php', 1 => 'PharFileInfo::chmod', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/phar/PharFileInfo.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.pharfileinfo.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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