The returned array contains an array of arrays.
Each array appears to contain:
[0] = function name
[1] = filename that contains function
[2] = *calling* line number in *calling* file
[3] = An array which is usually empty
apd_callstack
(PECL apd:0.2-0.4)
apd_callstack — Retourne la pile d'appel courante dans un tableau
Description
array apd_callstack
( void
)
apd_callstack() retourne la pile d'appel courante dans un tableau d'éléments.
Valeurs de retour
Un tableau contenant la pile d'appel courante.
Exemples
Exemple #1 Exemple avec apd_callstack()
<?php
print_r(apd_callstack());
?>
apd_callstack
andrewpunch at bigfoot.com
11-Sep-2005 11:59
11-Sep-2005 11:59
