Query: rar_close
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RAR_CLOSE(3) 1 RAR_CLOSE(3) RarArchive::close - Close RAR archive and free all resources Object oriented style (method):SYNOPSISpublic bool RarArchive::close (void )DESCRIPTIONProcedural style: bool rar_close (RarArchive $rarfile) Close RAR archive and free all allocated resources.PARAMETERSo $rarfile - A RarArchive object, opened with rar_open(3).RETURN VALUESReturns 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. | | | | +--------+---------------------------------------------------+EXAMPLESExample #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 |
---|
rar_broken_is(3) - php |
rar_close(3) - php |
rar_open(3) - php |
rar_solid_is(3) - php |
datetime.sub(3) - php |
Similar Topics in the Unix Linux Community |
---|
How can i open rar files |
Help with rar |
Remove all lines that contain ".rar" |
Unzip a .rar file |
How To Split A File In Two Rar Parts? |