The zip_close() function closes the zip archive opened by the zip_open() function.
zip_close(zip)
parameter | describe |
---|---|
zip | Required. Specifies the zip resource (zip file opened by zip_open()) to be closed. |
<?php$zip = zip_open("test.zip");zip_read($zip);// some codezip_close($zip);?>