zip_entry_close() function in PHP

The zip_entry_close() function is used to close a zip archive opened by the zip_entry_open() function.

Syntax

zip_entry_close(zip_entry)

Parameters

  • zip_entry − The zip entry resource. Required.

Return

The zip_entry_close() function Returns TRUE on success and FALSE on failure.

The following is an example. Let’s say we have "new.zip" file as our archive.

Example

Updated on: 2020-06-26T09:52:55+05:30

100 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements