previousPEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallbacknext

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::getFileLine

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

Synopsis

require_once 'PEAR/ErrorStack.php';

array|false PEAR_ErrorStack::getFileLine ( array $code , unused $params , integer $backtrace = = null )

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.

Parameter

array $code

Résultats de debug_backtrace()

unused $params

integer $backtrace

armature de backtrace.

Return value

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

Throws

No exceptions thrown.

Note

This function should be called statically.

previousPEAR_ErrorStack::getErrors (Previous) (Next) PEAR_ErrorStack::getMessageCallbacknext

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.