PHP zip_entry_open() Function

zip_entry_open — Open a directory entry for reading

bool zip_entry_open ( resource $zip , resource $zip_entry [, string $mode ] )

Opens a directory entry in a zip file for reading.

The zip_entry_open() function opens a zip archive entry for reading.This function returns TRUE on success, or FALSE on failure.

Example -

zipA valid resource handle returned by zip_open().
zip_entryA directory entry returned by zip_read().
modeAny of the modes specified in the documentation of fopen().

Return Values-

Returns TRUE on success or FALSE on failure.