array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.ziparchive.php', 1 => 'ZipArchive', ), 'up' => array ( 0 => 'book.zip.php', 1 => 'Zip', ), 'prev' => array ( 0 => 'zip.examples.php', 1 => 'Exemples', ), 'next' => array ( 0 => 'ziparchive.addemptydir.php', 1 => 'ZipArchive::addEmptyDir', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/zip/ziparchive.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.ziparchive.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0)
Un fichier d'archive, compressé avec Zip.
$filepath
,$entryname
= "",$start
= 0,$length
= ZipArchive::LENGTH_TO_END,$flags
= ZipArchive::FL_OVERWRITEValeur de l'index de la dernière entrée (fichier ou dossier) Disponible à partir de PHP 8.0.0 et PECL zip 1.18.0.
Le statut de l'archive Zip. Disponible pour les archives fermées, à partir de PHP 8.0.0 et PECL zip 1.18.0.
Le statut système de l'archive Zip. Disponible pour les archives fermées, à partir de PHP 8.0.0 et PECL zip 1.18.0.
Le nombre de fichiers dans l'archive
Le nom du fichier dans le système de fichiers
Commentaire pour l'archive