apd_callstack

(PECL apd 0.2-0.4)

apd_callstackReturns the current call stack as an array

Description

array apd_callstack ( void )

Returns the current call stack as an array

Return Values

An array containing the current call stack.

Examples

Example #1 apd_callstack() example

<?php
print_r
(apd_callstack());
?>

Коментарии

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
2005-09-11 17:59:09
http://php5.kiev.ua/manual/ru/function.apd-callstack.html

    Поддержать сайт на родительском проекте КГБ