PHP Portal » PHP Handbuch » The RarArchive class


The RarArchive class


This class represents a RAR archive, which may be formed by several volumes (parts) and which contains a number of RAR entries (i.e., files, directories and other special objects such as symbolic links).

Objects of this class can be traversed, yielding the entries stored in the respective RAR archive. Those entries can also be obtained through RarArchive::getEntry and RarArchive::list.


final RarArchive implements Traversable {
/* Methods */
public bool close ( void )
public string getComment ( void )
public RarEntry getEntry ( string $entryname )
public bool isSolid ( void )
public array list ( void )
public static RarArchive open ( string $filename [, string $password ] )
public void __toString ( void )