RarEntry::isEncrypted
PHP Manual
PHP Manual»RarEntry»RarEntry::isEncrypted

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted

Опис

public function RarEntry::isEncrypted(): bool

Tests whether the current entry contents are encrypted.

Зауваження: The password used may differ between files inside the same RAR archive.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

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

To Top