rar_close(3) php man page | unix.com

Man Page: rar_close

Operating Environment: php

Section: 3

RAR_CLOSE(3)								 1							      RAR_CLOSE(3)

RarArchive::close - Close RAR archive and free all resources

       Object oriented style (method):

SYNOPSIS
public bool RarArchive::close (void )
DESCRIPTION
Procedural style: bool rar_close (RarArchive $rarfile) Close RAR archive and free all allocated resources.
PARAMETERS
o $rarfile - A RarArchive object, opened with rar_open(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 2.0.0 | | | | | | | The RAR entries returned by RarArchive::getEntry | | | and RarArchive::getEntries are now invalidated | | | when calling this method. This means that all | | | instance methods called for such entries and not | | | guaranteed to succeed. | | | | +--------+---------------------------------------------------+
EXAMPLES
Example #1 Object oriented style <?php $rar_arch = RarArchive::open('latest_winrar.rar'); echo $rar_arch." "; $rar_arch->close(); echo $rar_arch." "; ?> The above example will output something similar to: RAR Archive "D:php_rar runk estslatest_winrar.rar" RAR Archive "D:php_rar runk estslatest_winrar.rar" (closed) Example #2 Procedural style <?php $rar_arch = rar_open('latest_winrar.rar'); echo $rar_arch." "; rar_close($rar_arch); echo $rar_arch." "; ?> PHP Documentation Group RAR_CLOSE(3)
Related Man Pages
datetime.settimestamp(3) - php
rar_close(3) - php
rar_list(3) - php
datetime.setdate(3) - php
datetime.add(3) - php
Similar Topics in the Unix Linux Community
extracting .rar files
rename more files special case
Autounrar Script for Debian
Extract .rar format files in Solaris
Problem installing rar and unrar