THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP zip_close() Function


PHP Zip File Reference Complete PHP Zip File Reference

Definition and Usage

The zip_close() function closes a zip archive opened by the zip_open() function.

Syntax

zip_close(zip)

Parameter Description
zip Required. Specifies the zip resource to close (a zip file opened with zip_open() )

Example

<?php
$zip = zip_open("test.zip");
zip_read($zip);

// some code

zip_close($zip);
?>

PHP Zip File Reference Complete PHP Zip File Reference