Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Advanced PHP debugger : apd_callstack

apd_callstack

Returns the current call stack as an array (PECL apd:0.2-0.4)
array apd_callstack ( )

Example 218. apd_callstack() example

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

Code Examples / Notes » apd_callstack

andrewpunch

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


Change Language


Follow Navioo On Twitter
apd_breakpoint
apd_callstack
apd_clunk
apd_continue
apd_croak
apd_dump_function_table
apd_dump_persistent_resources
apd_dump_regular_resources
apd_echo
apd_get_active_symbols
apd_set_pprof_trace
apd_set_session_trace
apd_set_session
apd_set_socket_session_trace
override_function
rename_function
eXTReMe Tracker