Query: rar_solid_is
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RAR_SOLID_IS(3) 1 RAR_SOLID_IS(3) RarArchive::isSolid - Check whether the RAR archive is solid Object oriented style (method):SYNOPSISpublic bool RarArchive::isSolid (void )DESCRIPTIONProcedural style: bool rar_solid_is (RarArchive $rarfile) Check whether the RAR archive is solid. Individual file extraction is slower on solid archives.PARAMETERSo $rarfile - A RarArchive object, opened with rar_open(3).RETURN VALUESReturns TRUE if the archive is solid, FALSE otherwise.EXAMPLESExample #1 Object oriented style <?php $arch1 = RarArchive::open("store_method.rar"); $arch2 = RarArchive::open("solid.rar"); echo "$arch1: " . ($arch1->isSolid()?'yes':'no') ." "; echo "$arch2: " . ($arch2->isSolid()?'yes':'no') . " "; ?> The above example will output something similar to: RAR Archive "C:php_rar runk estsstore_method.rar": no RAR Archive "C:php_rar runk estssolid.rar": yes Example #2 Procedural style <?php $arch1 = rar_open("store_method.rar"); $arch2 = rar_open("solid.rar"); echo "$arch1: " . (rar_solid_is($arch1)?'yes':'no') ." "; echo "$arch2: " . (rar_solid_is($arch2)?'yes':'no') . " "; ?> PHP Documentation Group RAR_SOLID_IS(3)
Related Man Pages |
---|
datetime.settimezone(3) - php |
datetime.settime(3) - php |
rararchive.setallowbroken(3) - php |
numfmt_set_pattern(3) - php |
datetime.setisodate(3) - php |
Similar Topics in the Unix Linux Community |
---|
How can i open rar files |
Autounrar Script for Debian |
Problem installing rar and unrar |
Using a rar file on a suse linux |
How To Split A File In Two Rar Parts? |