array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), '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' => 'fr', '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)
La classe PharFileInfo fournit une interface de haut niveau pour accéder au contenu et aux attributs d'un fichier contenu dans une archive phar.
$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObject