PHP Manual
Function Reference
Compression and Archive Extensions
Bzip2
LZF
Phar
Rar
Zip
Zlib
PharException
Introduction
Compression and Archive Extensions
PHP Manual
Rar Archiving
Table of Contents
Introduction
Installing/Configuring
Installation
Resource Types
Predefined Constants
Examples
Rar Functions
rar_wrapper_cache_stats
— Cache hits and misses for the URL wrapper
RarArchive
— The RarArchive class
RarArchive::close
— Close RAR archive and free all resources
RarArchive::getComment
— Get comment text from the RAR archive
RarArchive::getEntries
— Get full list of entries from the RAR archive
RarArchive::getEntry
— Get entry object from the RAR archive
RarArchive::isBroken
— Test whether an archive is broken (incomplete)
RarArchive::isSolid
— Check whether the RAR archive is solid
RarArchive::open
— Open RAR archive
RarArchive::setAllowBroken
— Whether opening broken archives is allowed
RarArchive::__toString
— Get text representation
RarEntry
— The RarEntry class
RarEntry::extract
— Extract entry from the archive
RarEntry::getAttr
— Get attributes of the entry
RarEntry::getCrc
— Get CRC of the entry
RarEntry::getFileTime
— Get entry last modification time
RarEntry::getHostOs
— Get entry host OS
RarEntry::getMethod
— Get pack method of the entry
RarEntry::getName
— Get name of the entry
RarEntry::getPackedSize
— Get packed size of the entry
RarEntry::getStream
— Get file handler for entry
RarEntry::getUnpackedSize
— Get unpacked size of the entry
RarEntry::getVersion
— Get minimum version of RAR program required to unpack the entry
RarEntry::isDirectory
— Test whether an entry represents a directory
RarEntry::isEncrypted
— Test whether an entry is encrypted
RarEntry::__toString
— Get text representation of entry
RarException
— The RarException class
RarException::isUsingExceptions
— Check whether error handling with exceptions is in use
RarException::setUsingExceptions
— Activate and deactivate error handling with exceptions