PEAR_ErrorStack::setContextCallback()

PEAR_ErrorStack::setContextCallback()  --  Set a callback that generates context information (location of error) for an error stack

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setContextCallback (array|string|null $contextCallback)

Описание

This method sets the callback that can be used to generate context information for an error. Passing in NULL will disable context generation and remove the expensive call to debug_backtrace()

Параметр

mixed $contextCallback

A valid callback as defined by is_callable()

Throws

No exceptions thrown.

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ