Skip to content

Instantly share code, notes, and snippets.

@rfulwell
Created April 23, 2019 23:25
Show Gist options
  • Save rfulwell/25494bed8356e53278978f798cc66715 to your computer and use it in GitHub Desktop.
Save rfulwell/25494bed8356e53278978f798cc66715 to your computer and use it in GitHub Desktop.

Revisions

  1. rfulwell created this gist Apr 23, 2019.
    51 changes: 51 additions & 0 deletions output.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,51 @@
    #BP:debug_print_backtrace() running in [/var/www/html/a.php:36]
    #0 a_class::a_function(1) called at [/var/www/html/b.php:24]
    #1 b_class::b_function(1, two) called at [/var/www/html/c.php:9]
    #2 c_class::c_function(param) called at [/var/www/html/c.php:13]

    Array
    (
    [0] => Array
    (
    [file] => /var/www/html/b.php
    [line] => 24
    [function] => a_function
    [class] => a_class
    [type] => ::
    [args] => Array
    (
    [0] => 1
    )

    )

    [1] => Array
    (
    [file] => /var/www/html/c.php
    [line] => 9
    [function] => b_function
    [class] => b_class
    [type] => ::
    [args] => Array
    (
    [0] => 1
    [1] => two
    )

    )

    [2] => Array
    (
    [file] => /var/www/html/c.php
    [line] => 13
    [function] => c_function
    [class] => c_class
    [type] => ::
    [args] => Array
    (
    [0] => param
    )

    )

    )