Easy Tutorial
❮ Func Zip Entry Compressionmethod Func Mysqli Get Connection Stats ❯

PHP zip_open() Function



Definition and Usage

The zip_open() function opens a zip archive for reading.

If successful, the function returns a zip file resource. If it fails, it returns FALSE.

Syntax

Parameter Description
filename Required. Specifies the filename and path of the zip file to be opened.

Tips and Notes

Tip: The opened zip file resource can be used by the zip_read() and zip_close() functions.


Example


❮ Func Zip Entry Compressionmethod Func Mysqli Get Connection Stats ❯