array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'class.phardata.php', 1 => 'PharData', ), 'up' => array ( 0 => 'book.phar.php', 1 => 'Phar', ), 'prev' => array ( 0 => 'phar.webphar.php', 1 => 'Phar::webPhar', ), 'next' => array ( 0 => 'phardata.addemptydir.php', 1 => 'PharData::addEmptyDir', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/phar/PharData.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.phardata.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 >= 2.0.0)
La clase PharData proporciona una interfaz de alto nivel para el acceso y la creación
de archivos tar y zip no ejecutables. Debido a que estos archivos no contienen
una rutina de interoperabilidad y no pueden ser ejecutados por la extensión phar,
es posible crear y manipular ficheros zip y tar normales con la clase PharData
incluso si la opción del php.ini phar.readonly
está establecida a 1
.
$format
= 9021976, int $compression
= 9021976, string $extension
= ?): PharData$format
= 9021976, int $compression
= 9021976, string $extension
= ?): Phar$indexfile
= ?, string $webindexfile
= ?): string