PEAR_ErrorStack::setDefaultCallback
PEAR_ErrorStack::setDefaultCallback() –
Sets a default callback to be used by all error stacks
Synopsis
require_once 'PEAR/ErrorStack.php';
void
PEAR_ErrorStack::setDefaultCallback
(
array|string
$callback
= false
)
Description
This method sets the callback that can be used to generate error messages for a singleton
Parameter
-
array|string
$callback
-
Callback function/method
Throws
No exceptions thrown.
Note
This function should be called statically.