array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.zip-entry-compressionmethod.php', 1 => 'zip_entry_compressionmethod', ), 'up' => array ( 0 => 'ref.zip.php', 1 => 'Zip 函数', ), 'prev' => array ( 0 => 'function.zip-entry-compressedsize.php', 1 => 'zip_entry_compressedsize', ), 'next' => array ( 0 => 'function.zip-entry-filesize.php', 1 => 'zip_entry_filesize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/zip/functions/zip-entry-compressionmethod.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0)
zip_entry_compressionmethod — 检索目录实体的压缩方法
本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。
压缩方法, 或者在失败时返回 false
。