PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

apd_clunk> <apd_breakpoint
Last updated: Fri, 22 Aug 2008

view this page in

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());
?>



add a note add a note User Contributed Notes
apd_callstack
andrewpunch at bigfoot.com
12-Sep-2005 12: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

apd_clunk> <apd_breakpoint
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites