| PEAR_ErrorStack::raiseError | PEAR_ErrorStack::setDefaultCallback |
| PEAR_ErrorStack | |
| PEAR Manual | |
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()
No exceptions thrown.
This function can not be called statically.
| PEAR_ErrorStack::raiseError | PEAR_ErrorStack::setDefaultCallback |
| PEAR_ErrorStack | |
| PEAR Manual | |