PHP 8.0.0 Release Candidate 3 available for testing


(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted


public RarEntry::isEncrypted ( void ) : bool

Tests whether the current entry contents are encrypted.


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


This function has no parameters.

Return Values

Returns TRUE if the current entry is encrypted and FALSE otherwise.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top