zip_close

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.0.0)

zip_closeClose a ZIP file archive

Description

zip_close ( resource $zip ) : void

Closes the given ZIP file archive.

Parameters

zip

A ZIP file previously opened with zip_open().

Return Values

No value is returned.

Changelog

Version Description
8.0.0 This function is deprecated in favor of the Object API, see ZipArchive::close().

See Also