ZipArchive::deleteIndex

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0) delete an entry in the archive using its index bool ZipArchive::deleteIndex ( int $index ) Delete an entry in the archive using its index. Parameters: index Index of the entry to delete. Returns: Returns TRUE on success or FALSE on failure. Examples

ZipArchive::deleteName

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0) delete an entry in the archive using its name bool ZipArchive::deleteName ( string $name ) Delete an entry in the archive using its name. Parameters: name Name of the entry to delete. Returns: Returns TRUE on success or FALSE on failure. Examples:

ZipArchive::extractTo

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Extract the archive contents bool ZipArchive::extractTo ( string $destination [, mixed $entries ] ) Extract the complete archive or the given files to the specified destination. Parameters: destination Location where to extract the files. entries The entries to extract. It accepts either

ZipArchive::getArchiveComment

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Returns the Zip archive comment string ZipArchive::getArchiveComment ([ int $flags ] ) Returns the Zip archive comment. Parameters: flags If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged comment is returned. Returns: Returns the Zip archive comment or FALSE on failure.

ZipArchive::getCommentIndex

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.4.0) Returns the comment of an entry using the entry index string ZipArchive::getCommentIndex ( int $index [, int $flags ] ) Returns the comment of an entry using the entry index. Parameters: index Index of the entry flags If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged com

ZipArchive::getCommentName

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.4.0) Returns the comment of an entry using the entry name string ZipArchive::getCommentName ( string $name [, int $flags ] ) Returns the comment of an entry using the entry name. Parameters: name Name of the entry flags If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged commen

ZipArchive::getExternalAttributesIndex

(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4) Retrieve the external attributes of an entry defined by its index bool ZipArchive::GetExternalAttributesIndex ( int $index, int &$opsys, int &$attr [, int $flags ] ) Retrieve the external attributes of an entry defined by its index. Parameters: index Index of the entry. opsys On

ZipArchive::getExternalAttributesName

(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4) Retrieve the external attributes of an entry defined by its name bool ZipArchive::getExternalAttributesName ( string $name, int &$opsys, int &$attr [, int $flags ] ) Retrieve the external attributes of an entry defined by its name. Parameters: name Name of the entry. opsys On suc

ZipArchive::getFromIndex

(No version information available, might only be in Git) Returns the entry contents using its index string ZipArchive::getFromIndex ( int $index [, int $length = 0 [, int $flags ]] ) Returns the entry contents using its index. Parameters: index Index of the entry length The length to be read from the entry. If 0, then the entire entry

ZipArchive::getFromName

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Returns the entry contents using its name string ZipArchive::getFromName ( string $name [, int $length = 0 [, int $flags ]] ) Returns the entry contents using its name. Parameters: name Name of the entry length The length to be read from the entry. If 0, then the entire entry is read.