RarArchive::setAllowBrokenWhether opening broken archives is allowed DescriptionObject-oriented style (method):
public bool RarArchive::setAllowBroken(bool
$allow_broken )Procedural style: bool rar_allow_broken_set(RarArchive
$rarfile , bool $allow_broken )This method defines whether broken archives can be read or all the operations that attempt to extract the archive entries will fail. Broken archives are archives for which no error is detected when the file is opened but an error occurs when reading the entries. Parameters
Return Values
Returns Examples
Example #1 Object-oriented style
The above example will output something similar to: RarEntry for file "file1.txt" (52b28202) int(1)
Example #2 Procedural style
See Also
|