APD 函数
在线手册:中文 英文
PHP手册

apd_callstack

(PECL apd 0.2-0.4)

apd_callstackReturns the current call stack as an array

说明

array apd_callstack ( void )

Returns the current call stack as an array

返回值

An array containing the current call stack.

范例

Example #1 apd_callstack() example

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


APD 函数
在线手册:中文 英文
PHP手册
PHP手册 - N: Returns the current call stack as an array

用户评论:

andrewpunch at bigfoot.com (11-Sep-2005 10:59)

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