If the compress argument is set the tar will be read or created as a
gzip or bz2 compressed TAR file.
public Archive_Tar ( string $p_tarname, string $p_compress = null ) | ||
$p_tarname | string | The name of the tar archive to create |
$p_compress | string | can be null, 'gz' or 'bz2'. This parameter indicates if gzip or bz2 compression is required. For compatibility reason the boolean value 'true' means 'gz'. |