PEAR_ErrorStack::setDefaultCallback

PEAR_ErrorStack::setDefaultCallback()

PEAR_ErrorStack::setDefaultCallback()  --  Sets a default callback to be used by all error stacks

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.