Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<RarEntry::isDirectoryRarEntry::__toString>
^RarEntryLast updated: Mon, 26 Oct 2026

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncrypted — Test whether an entry is encrypted

Description

public function 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.


<RarEntry::isDirectoryRarEntry::__toString>
^RarEntryLast updated: Mon, 26 Oct 2026