Beispiel #1
0
function debug_callstackinfo()
{
    return debug_vars(debug_backtrace());
}
Beispiel #2
0
function debug_callstackinfo($back = 1)
{
    $trace = array_slice(debug_backtrace(), $back);
    return debug_vars($trace);
}