ZipArchive::renameName

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

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

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