<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.zip.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.zip-close.php',
    1 => 'zip_close',
    2 => 'Close a ZIP file archive',
  ),
  'up' => 
  array (
    0 => 'ref.zip.php',
    1 => 'Zip Functions',
  ),
  'prev' => 
  array (
    0 => 'ref.zip.php',
    1 => 'Zip Functions',
  ),
  'next' => 
  array (
    0 => 'function.zip-entry-close.php',
    1 => 'zip_entry_close',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/zip/functions/zip-close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.zip-close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">zip_close</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5 &gt;= 5.2.0, PHP 7, PHP 8, PECL zip &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">zip_close</span> &mdash; <span class="dc-title">Close a ZIP file archive</span></p>

 </div>

 <div id="function.zip-close-refsynopsisdiv">
   <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function has been
<em>DEPRECATED</em> as of PHP 8.0.0. Relying on this function
is highly discouraged.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.zip-close-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="attribute"><a href="class.deprecated.php">#[\Deprecated]</a> </span><br>
   <span class="methodname"><strong>zip_close</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$zip</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Closes the given ZIP file archive.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.zip-close-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">zip</code></dt>
     <dd>
      <p class="para">
       A ZIP file previously opened with <span class="function"><a href="function.zip-open.php" class="function">zip_open()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.zip-close-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.zip-close-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0</td>
       <td>
        This function is deprecated in favor of the Object API,
        see <span class="methodname"><a href="ziparchive.close.php" class="methodname">ZipArchive::close()</a></span>.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.zip-close-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.zip-open.php" class="function" rel="rdfs-seeAlso">zip_open()</a> - Open a ZIP file archive</span></li>
    <li><span class="function"><a href="function.zip-read.php" class="function" rel="rdfs-seeAlso">zip_read()</a> - Read next entry in a ZIP file archive</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>