require_once 'PEAR/ErrorStack.php';
void PEAR_ErrorStack::staticPushCallback (string|array $cb)
void PEAR_ErrorStack::staticPushCallback
Set an error callback for every package's singleton error stack.
No exceptions thrown.
see PEAR_ErrorStack::staticPopCallback() , PEAR_ErrorStack::pushCallback()
see PEAR_ERRORSTACK_PUSHANDLOG , PEAR_ERRORSTACK_PUSH , PEAR_ERRORSTACK_LOG
This function should be called statically.