• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • apd_callstack()

    (PECL apd 0.2-0.4)

    Returns the current call stack as an array

    说明

    apd_callstack(void): array

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

    下篇:apd_clunk()