php8.5
Home/ Manual/ rar / rarentry/ RarEntry::isEncrypted

RarEntry::isEncrypted

PHP function Edit on GitHub ✎

(PECL rar >= 2.0.0)

Test whether an entry is encrypted

Description

RarEntry::isEncrypted(): bool

Tests whether the current entry contents are encrypted.

Note

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

Parameters Parameters

Return Values

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

Source: reference/rar/rarentry/isencrypted.xml · from the official PHP manual (php/doc-en)