ZipArchive::setExternalAttributesName

(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4) Set the external attributes of an entry defined by its name bool ZipArchive::setExternalAttributesName ( string $name, int $opsys, int $attr [, int $flags ] ) Set the external attributes of an entry defined by its name. Parameters: name Name of the entry. opsys The operating system code

ZipArchive::renameIndex

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0) Renames an entry defined by its index bool ZipArchive::renameIndex ( int $index, string $newname ) Renames an entry defined by its index. Parameters: index Index of the entry to rename. newname New name. Returns: Returns TRUE on success or FALSE on failure.

ZipArchive::getStream

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Get a file handler to the entry defined by its name (read only). resource ZipArchive::getStream ( string $name ) Get a file handler to the entry defined by its name. For now it only supports read operations. Parameters: name The name of the entry to use. Returns: Returns a file pointer (resource) o

ZipArchive::open

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Open a ZIP file archive mixed ZipArchive::open ( string $filename [, int $flags ] ) Opens a new zip archive for reading, writing or modifying. Parameters: filename The file name of the ZIP archive to open. flags The mode to use to open the archive. ZipArchive::OVERWRITE ZipArchive:

ZipArchive::locateName

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0) Returns the index of the entry in the archive int ZipArchive::locateName ( string $name [, int $flags ] ) Locates an entry using its name. Parameters: name The name of the entry to look up flags The flags are specified by ORing the following values, or 0 for none of them. ZipArchive::F

ZipArchive::getStatusString

(PHP 5 >= 5.2.7, PHP 7) Returns the status error message, system and/or zip messages string ZipArchive::getStatusString ( void ) Returns the status error message, system and/or zip messages. Returns: Returns a string with the status message on success or FALSE on failure.

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::getNameIndex

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

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.