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

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::getFileLine()

PEAR_ErrorStack::getFileLine() -- Standard file/line number/function/class context callback

Leírás

This function uses a backtrace generated from debug_backtrace and so will not work at all in PHP < 4.3.0. The frame should reference the frame that contains the source of the error.

Paraméterek

array $code

Results of debug_backtrace()

unused $params

integer $backtrace

backtrace frame.

Visszatérési érték

returns either array('file' => file, 'line' => line, 'function' => function name, 'class' => class name) or if this doesn't work, then false

Lehetséges hibaértékek

throws no exceptions thrown

Megjegyzés

Ez a függvény statikus meghívásra van felkészítve!

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

Download Documentation Last updated: Sun, 01 Jul 2007
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.