🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
Rar是Eugene Roshal创建的强大而有效的存档器。此扩展使您可以读取Rar档案,但不支持编写Rar档案,因为UnRar库不支持此操作,并且其许可证直接禁止这样做 [https://pecl.php.net/package/rar](https://pecl.php.net/package/rar) * [预定义常量](https://www.php.net/manual/en/rar.constants.php) * [例子](https://www.php.net/manual/en/rar.examples.php) * [rar函数](https://www.php.net/manual/en/ref.rar.php) * [rar\_wrapper\_cache\_stats](https://www.php.net/manual/en/function.rar-wrapper-cache-stats.php)— URL包装器的缓存命中和未命中 * [RarArchive](https://www.php.net/manual/en/class.rararchive.php)— RarArchive类 * [RarArchive :: close](https://www.php.net/manual/en/rararchive.close.php)—关闭RAR存档并释放所有资源 * [RarArchive :: getComment](https://www.php.net/manual/en/rararchive.getcomment.php)—从RAR档案中获取评论文本 * [RarArchive :: getEntries](https://www.php.net/manual/en/rararchive.getentries.php)—从RAR存档中获取条目的完整列表 * [RarArchive :: getEntry](https://www.php.net/manual/en/rararchive.getentry.php)—从RAR档案中获取条目对象 * [RarArchive :: isBroken](https://www.php.net/manual/en/rararchive.isbroken.php)—测试档案是否损坏(不完整) * [RarArchive :: isSolid](https://www.php.net/manual/en/rararchive.issolid.php)—检查RAR存档是否稳定 * [RarArchive :: open](https://www.php.net/manual/en/rararchive.open.php)—打开RAR存档 * [RarArchive :: setAllowBroken](https://www.php.net/manual/en/rararchive.setallowbroken.php)—是否允许打开损坏的档案 * [RarArchive :: \_\_ toString](https://www.php.net/manual/en/rararchive.tostring.php)—获取文本表示形式 * [RarEntry](https://www.php.net/manual/en/class.rarentry.php)— RarEntry类 * [RarEntry :: extract](https://www.php.net/manual/en/rarentry.extract.php)—从存档中提取条目 * [RarEntry :: getAttr](https://www.php.net/manual/en/rarentry.getattr.php)—获取条目的属性 * [RarEntry :: getCrc](https://www.php.net/manual/en/rarentry.getcrc.php)—获取条目的CRC * [RarEntry :: getFileTime](https://www.php.net/manual/en/rarentry.getfiletime.php)—获取条目上次修改时间 * [RarEntry :: getHostOs](https://www.php.net/manual/en/rarentry.gethostos.php)—获取条目主机操作系统 * [RarEntry :: getMethod](https://www.php.net/manual/en/rarentry.getmethod.php)—获取条目的打包方法 * [RarEntry :: getName](https://www.php.net/manual/en/rarentry.getname.php)—获取条目的名称 * [RarEntry :: getPackedSize](https://www.php.net/manual/en/rarentry.getpackedsize.php)—获取条目的打包大小 * [RarEntry :: getStream](https://www.php.net/manual/en/rarentry.getstream.php)—获取用于输入的文件处理程序 * [RarEntry :: getUnpackedSize](https://www.php.net/manual/en/rarentry.getunpackedsize.php)—获取条目的解压缩大小 * [RarEntry :: getVersion](https://www.php.net/manual/en/rarentry.getversion.php)—获取解压缩条目所需的RAR程序的最低版本 * [RarEntry :: isDirectory](https://www.php.net/manual/en/rarentry.isdirectory.php)—测试条目是否代表目录 * [RarEntry :: isEncrypted](https://www.php.net/manual/en/rarentry.isencrypted.php)—测试条目是否被加密 * [RarEntry :: \_\_ toString](https://www.php.net/manual/en/rarentry.tostring.php)—获取条目的文本表示形式 * [RarException](https://www.php.net/manual/en/class.rarexception.php)\-RarException类 * [RarException :: isUsingExceptions](https://www.php.net/manual/en/rarexception.isusingexceptions.php)—检查是否正在使用带有异常的错误处理 * [RarException :: setUsingExceptions](https://www.php.net/manual/en/rarexception.setusingexceptions.php)—激活和停用带有异常的错误处理