RarEntry
PHP Manual

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted

Descripción

public bool RarEntry::isEncrypted ( void )

Tests whether the current entry contents are encrypted.

Note:

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

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


RarEntry
PHP Manual