RarArchive::__toString

(PECL rar >= 2.0.0) Get text representation public string RarArchive::__toString ( void ) Provides a string representation for this RarArchive object. It currently shows the full path name of the archive volume that was opened and whether the resource is valid or was already closed through a call to RarArchive::close(). This method may be used only for debugging purposes, as there are no guarantees as to which informati

RarArchive::open

(PECL rar >= 2.0.0) Open RAR archive public static RarArchive RarArchive::open ( string $filename [, string $password = NULL [, callable $volume_callback = NULL ]] ) Object oriented style (method): Procedural style: RarArchive rar_open ( string $filename [, string $password = NULL [, callable $volume_callback = NULL ]] ) Open specified RAR archive and return RarArchive instance representing it. Note: If opening a m

RarArchive::isSolid

(PECL rar >= 2.0.0) Check whether the RAR archive is solid public bool RarArchive::isSolid ( void ) Object oriented style (method): Procedural style: bool rar_solid_is ( RarArchive $rarfile ) Check whether the RAR archive is solid. Individual file extraction is slower on solid archives. Parameters: rarfile A RarArchive object, opened with rar_open().

RarArchive::isBroken

(PECL rar >= 3.0.0) Test whether an archive is broken (incomplete) public bool RarArchive::isBroken ( void ) Object oriented style (method): Procedural style: bool rar_broken_is ( RarArchive $rarfile ) This function determines whether an archive is incomplete, i.e., if a volume is missing or a volume is truncated. Parameters: rarfile A RarArchive object, opened with r

RarArchive::getEntries

(PECL rar >= 2.0.0) Get full list of entries from the RAR archive public array RarArchive::getEntries ( void ) Object oriented style (method): Procedural style: array rar_list ( RarArchive $rarfile ) Get entries list (files and directories) from the RAR archive. Note: If the archive has entries with the same name, this method, together with RarArchive foreach iteration and array-like access with numeric indexes, are

RarArchive::getEntry

(PECL rar >= 2.0.0) Get entry object from the RAR archive public RarEntry RarArchive::getEntry ( string $entryname ) Object oriented style (method): Procedural style: RarEntry rar_entry_get ( RarArchive $rarfile , string $entryname ) Get entry object (file or directory) from the RAR archive. Note: You can also get entry objects using RarArchive::getEntries(). Note that a RAR archive can have multiple entries with the

PharException

(Unknown) The PharException class provides a phar-specific exception class for try/catch blocks.

rar_wrapper_cache_stats

(PECL rar >= 3.0.0) Cache hits and misses for the URL wrapper string rar_wrapper_cache_stats ( void ) Returns: This function is currently not documented; only its argument list is available.

RarArchive::close

(PECL rar >= 2.0.0) Close RAR archive and free all resources public bool RarArchive::close ( void ) Object oriented style (method): Procedural style: bool rar_close ( RarArchive $rarfile ) Close RAR archive and free all allocated resources. Parameters: rarfile A RarArchive object, opened with rar_open(). Returns: Returns TRUE on success or FA

RarArchive::getComment

(PECL rar >= 2.0.0) Get comment text from the RAR archive public string RarArchive::getComment ( void ) Object oriented style (method): Procedural style: string rar_comment_get ( RarArchive $rarfile ) Get the (global) comment stored in the RAR archive. It may be up to 64 KiB long. Note: This extension does not support comments at the entry level. Parameters: rarfile