It closes a zip archive opened by the zip_open() function
Example
<?php
$zp = zip_open(“test.zip”);
zip_close($zp);
?>
It closes a zip archive opened by the zip_open() function
Example
<?php
$zp = zip_open(“test.zip”);
zip_close($zp);
?>
zip folder-name *
It compress all the files in the respective folder and create an archive folder-name.zip
zip – r folder-name *
It compress all the data including its sub folder contents