[ create a new paste ] login | about

Link: http://codepad.org/i87FPHRh    [ raw code | output | fork ]

PHP, pasted on Nov 20:
1
2
3
4
5
6
7
8
9
10
<?php
function abc($a) {
if($a == 'a') {
 $b = 'stuff';
}
print_r(debug_backtrace());
}

abc('a');
?>


Output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Array
(
    [0] => Array
        (
            [file] => /t.php
            [line] => 9
            [function] => abc
            [args] => Array
                (
                    [0] => a
                )

        )

)


Create a new paste based on this one


Comments: