Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP zip_read() Function

PHP zip_read() Function


PHP Zip File Reference Manual 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


PHP Zip File Reference Manual Complete PHP Zip File Reference Manual