PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

bzerrstr> <bzerrno
Last updated: Fri, 04 Jul 2008

view this page in

bzerror

(PHP 4 >= 4.3.3, PHP 5, PECL bz2:1.0)

bzerror — Gibt den bzip2 Fehlercode und eine Fehlerbeschreinung in einem Array zurück.

Beschreibung

array bzerror ( int $bz )

Gibt den Fehlercode und die Fehlerbeschreibung eines beliebigen von dem Dateizeiger bz gelieferten bzip2-Fehlers in einem assoziativen Array zurück.

Parameter-Liste

bz

Zeiger auf eine erfolgreich mittels bzopen() geöffnete Datei.

Rückgabewerte

Returns an associative array, with the error code in the errno entry, and the error message in the errstr entry.

Beispiele

Beispiel #1 bzerror() Beispiel

&lt;?php
$error = bzerror($bz);

echo $error["errno"];
echo $error["errstr"];
?>

Siehe auch



add a note add a note User Contributed Notes
bzerror
There are no user contributed notes for this page.

bzerrstr> <bzerrno
Last updated: Fri, 04 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites