PEAR_ErrorStack::staticPushCallback
PEAR_ErrorStack::staticPushCallback() –
Set an error Callback for every package's error stack
Synopsis
require_once 'PEAR/ErrorStack.php';
void
PEAR_ErrorStack::staticPushCallback
(
string|array
$cb
)
Описание
Set an error callback for every package's singleton error stack.
Parameter
-
string|array
$cb
-
Throws
No exceptions thrown.
See
see PEAR_ErrorStack::staticPopCallback() , PEAR_ErrorStack::pushCallback()
see PEAR_ERRORSTACK_PUSHANDLOG , PEAR_ERRORSTACK_PUSH , PEAR_ERRORSTACK_LOG
Замечание
This function should be called statically.