PEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallback

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::getFileLine()

PEAR_ErrorStack::getFileLine() -- Contexte standard de fichier/ligne numéro/fonction/classe

Description

Cette foncton utilise une backtrace générée depuis la fonction debug_backtrace et donc, ne fonctionnera pas du tout en PHP < 4.3.0. L'armature doit référencé l'armature qui contient la source de l'erreur.

Paramètres

array $code

Résultats de debug_backtrace()

unused $params

entier $backtrace

armature de backtrace.

Valeur retournée

retourne soit array('file' => fichier, 'line' => ligne, 'function' => nom de la fonction, 'class' => nom de la classe) ou FALSE si celà ne fonctionne pas

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction devrait être appelée de façon statique.

PEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallback

Download Documentation Last updated: Sun, 28 Sep 2008
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.