PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

RarEntry::isEncrypted

(PECL rar >= 2.0.0)

RarEntry::isEncryptedTest whether an entry is encrypted

Description

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.

Parameters

This function has no parameters.

Return Values

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

PHP Manual