PEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallback

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::getFileLine()

PEAR_ErrorStack::getFileLine() -- ファイル名 / 行番号 / 関数名 / クラス名 を取得する、 標準のコンテキストコールバック

説明

この関数は、 debug_backtrace の出力を利用するため、PHP < 4.3.0 では動作しません。frame は、エラーの発生元を含むものを 参照しなければなりません。

パラメータ

array $code

debug_backtrace() の出力結果。

unused $params

integer $backtrace

バックトレースのフレーム。

返り値

成功した場合に array('file' => ファイル名, 'line' => 行番号, 'function' => 関数名, 'class' => クラス名) を、 失敗した場合に false を返します。

例外・エラー

例外はスローされません。

注意

この関数は、スタティックにコール されます。

PEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallback

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.