previousPEAR_ErrorStack::raiseError (Previous) (Next) PEAR_ErrorStack::setDefaultCallbacknext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack::setContextCallback

PEAR_ErrorStack::setContextCallback() – Définit un callback qui génère les informations de contexte (localisation de l'erreur) pour une pile d'erreur

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setContextCallback ( array|string|null $contextCallback )

Description

Cette méthode définit le callback qui sera utilisé pour générer les informations de contexte pour une erreur. Passer NULL désactivera la génération du contexte et effacera l'appel expensif à la fonction debug_backtrace().

Parameter

mixed $contextCallback

Un callback valide comme définit par is_callable() .

Throws

No exceptions thrown.

Note

This function can not be called statically.

previousPEAR_ErrorStack::raiseError (Previous) (Next) PEAR_ErrorStack::setDefaultCallbacknext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.