Php/docs/rarentry.isencrypted

来自菜鸟教程
跳转至:导航、​搜索

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted


说明

public RarEntry::isEncrypted ( ) : bool

Tests whether the current entry contents are encrypted.

Note:

The password used may differ between files inside the same RAR archive.

参数

此函数没有参数。


返回值

Returns true if the current entry is encrypted and false otherwise.