RarArchive::setAllowBrokenWhether opening broken archives is allowed BeschreibungObjektorientierter Stil (method):
public bool RarArchive::setAllowBroken
( bool
$allow_broken
)Prozeduraler Stil:
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. Parameter-Liste
Rückgabewerte
Returns Beispiele
Beispiel #1 Objektorientierter Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: RarEntry for file "file1.txt" (52b28202) int(1)
Beispiel #2 Prozeduraler Stil
<?phpSiehe auch
|