PHP 8.4.0 RC4 available for testing

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted

Description

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.

Parameters

This function has no parameters.

Return Values

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

add a note

User Contributed Notes

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