Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 21918 программистов и 1557 роботов. Сейчас ищут 1795 программистов ...

PEAR_ErrorStack::pushCallback

Вернуться к: PEAR_ErrorStack

PEAR_ErrorStack::pushCallback

PEAR_ErrorStack::pushCallback() – Set an error Callback If set to a valid callback, this will be called every time an error is pushed onto the stack. The return value will be used to determine whether to allow an error to be pushed or logged.

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::pushCallback ( string|array $cb )

The return value must be one of the PEAR_ERRORSTACK_* constants.

This functionality can be used to emulate PEAR's pushErrorHandling, and the PEAR_ERROR_CALLBACK mode, without affecting the integrity of the error stack or logging

Parameter

string|array $cb

Throws

throws no exceptions thrown

Note

This function can not be called statically.



Вернуться к: PEAR_ErrorStack

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware