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 )

Описание

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.

Замечание

This function should be called statically.

    Поддержать сайт на родительском проекте КГБ