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, 03 Oct 2008

view this page in

bzerror

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

bzerrorbzip2 エラー番号とエラー文字列を配列で返す

説明

array bzerror ( resource $bz )

与えられたファイルポインタから返された bzip2 エラーのエラー番号とエラー文字列を返します。

パラメータ

bz

ファイルポインタ。これは有効である必要があり、 bzopen() によりオープンされたファイルを指してい る必要があります。

返り値

errno エントリにエラーコード、errstr エントリにエラーメッセージを持つ連想配列を返します。

例1 bzerror() の例

<?php
$error 
bzerror($bz);

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



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

bzerrstr> <bzerrno
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites