Easy Tutorial
❮ Filter Validate Int Func Filesystem Popen ❯

PHP zip_entry_read() Function



Definition and Usage

The zip_entry_read() function retrieves content from an open zip archive.

If successful, the function returns the content of the item. If it fails, it returns FALSE.

Syntax

Parameter Description
zip_entry Required. Specifies the zip entry resource to read (a zip entry opened by zip_read()).
length Optional. Specifies the number of bytes to return (uncompressed size). The default is 1024.

Example

The output of the code depends on the content of the zip archive:

Hello World!


❮ Filter Validate Int Func Filesystem Popen ❯