<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/zip.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'zip.requirements.php',
    1 => '需求',
    2 => '需求',
  ),
  'up' => 
  array (
    0 => 'zip.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'zip.setup.php',
    1 => '安装/配置',
  ),
  'next' => 
  array (
    0 => 'zip.installation.php',
    1 => '安装',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/zip/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="zip.requirements" class="section">
  <h2 class="title">需求</h2>
  <p class="para">
   此扩展需要 <a href="https://libzip.org/" class="link external">&raquo;&nbsp;libzip</a>。在 7.3 及其以前的版本，1.1.2 版本都捆绑在 PHP 中。
  </p>
  <p class="para">
   最低支持版本为 0.11，但强烈建议使用更高版本。
  </p>
  <p class="para">
     <ul class="simplelist">
      <li>加密支持需要版本 1.2，参阅 <span class="methodname"><a href="ziparchive.setencryptionindex.php" class="methodname">ZipArchive::setEncryptionIndex()</a></span></li>
      <li>进度支持需要版本 1.3，参阅 <span class="methodname"><a href="ziparchive.registerprogresscallback.php" class="methodname">ZipArchive::registerProgressCallback()</a></span></li>
      <li>取消支持（cancel support）需要版本 1.6 版，参阅 <span class="methodname"><a href="ziparchive.registercancelcallback.php" class="methodname">ZipArchive::registerCancelCallback()</a></span></li>
     </ul>
  </p>
 </div><?php manual_footer($setup); ?>