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::getAttrRarEntry::getFileTime>
^RarEntryLast updated: Mon, 26 Oct 2026

RarEntry::getCrc

(PECL rar >= 0.1)

RarEntry::getCrc — Get CRC of the entry

Description

public function RarEntry::getCrc(): string

Returns an hexadecimal string representation of the CRC of the archive entry.

Parameters

This function has no parameters.

Return Values

Returns the CRC of the archive entry or false on error.

Changelog

Version Description
PECL rar 2.0.0 This method now returns correct values for multiple volume archives.

<RarEntry::getAttrRarEntry::getFileTime>
^RarEntryLast updated: Mon, 26 Oct 2026