zip_read

Read next entry in a ZIP file archive

&warn.deprecated.function-8-0-0;
&reftitle.description; ``resource``false```zip_read` `resource` `zip`

Reads the next entry in a zip file archive.

&reftitle.parameters;

`zip`

- A ZIP file previously opened with `zip_open`.

&reftitle.returnvalues;

Returns a directory entry resource for later use with the `zip_entry_...` functions, or &false; if there are no more entries to read, or an error code if an error occurred.

&reftitle.changelog;

&Version; | &Description;
8.0.0 | This function is deprecated in favor of the Object API, see `ZipArchive::statIndex`.

&reftitle.seealso;

- `zip_open`
- `zip_close`
- `zip_entry_open`
- `zip_entry_read`