PHP zip_read() Function
Complete PHP Zip File Reference Manual
Definition and Usage
The zip_read() function reads the next file in an open zip archive.
On success, this function returns a resource containing one file from the zip archive. If there are no more entries to read, FALSE is returned.
Syntax
zip_read(zip)
| Parameters | Description |
|---|---|
| zip | Required. Specifies the zip resource to read (the zip file opened by zip_open()). |
Tips and Notes
**Tip:** The resource returned by zip_read() can be used by the zip_entry... class of functions.
Example
Complete PHP Zip File Reference Manual