PHP 8.4.0 RC4 available for testing

zip_close

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

zip_closeClose a ZIP file archive

Warning

This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged.

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top