<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ziparchive.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'ziparchive.close.php',
    1 => 'ZipArchive::close',
    2 => 'Schlie&szlig;t das aktive Archiv (ge&ouml;ffnet oder neu erstellt)',
  ),
  'up' => 
  array (
    0 => 'class.ziparchive.php',
    1 => 'ZipArchive',
  ),
  'prev' => 
  array (
    0 => 'ziparchive.clearerror.php',
    1 => 'ZipArchive::clearError',
  ),
  'next' => 
  array (
    0 => 'ziparchive.count.php',
    1 => 'ZipArchive::count',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/zip/ziparchive/close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ziparchive.close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ZipArchive::close</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0, PHP 7, PHP 8, PECL zip &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ZipArchive::close</span> &mdash; <span class="dc-title">Schließt das aktive Archiv (geöffnet oder neu erstellt)</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-ziparchive.close-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ZipArchive::close</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Schließt das geöffnete oder neu erstellte Archiv und speichert die Änderungen.
   Diese Methode wird am Ende des Skripts automatisch aufgerufen.
  </p>
  <p class="para">
   Wenn das Archiv keine Dateien enthält, wird die Datei standardmäßig
   entsprechend dem Wert des globalen Flags
   <strong><code><a href="zip.constants.php#ziparchive.constants.afl-create-or-keep-file-for-empty-archive">ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE</a></code></strong>
   vollständig entfernt (es wird kein leeres Archiv gespeichert).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ziparchive.close-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">Diese Funktion besitzt keine Parameter.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ziparchive.close-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-ziparchive.close-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="ziparchive.setarchiveflag.php" class="methodname" rel="rdfs-seeAlso">ZipArchive::setArchiveFlag()</a> - Set a global flag of a ZIP archive</span></li>
   </ul>
  </p>
 </div>


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