Static Public Member Functions | |
static | backtraceString ($relative=True) |
Return a backtrace of all visited functions/classes as a single string where each function/method is on a new line. Example output:. | |
static | backtraceSingleLine ($relative=True) |
Return a backtrace of all visited functions/classes as a single, one-lined string. Example output:. | |
static | startPedantic () |
Set some PHP configuration options so that all errors and warnings will be shown and will be fatal. |
This class contains additional convenience debugging routines.
Definition at line 637 of file tlib.php.
static TLDebug::backtraceSingleLine | ( | $ | relative = True |
) | [static] |
Return a backtrace of all visited functions/classes as a single, one-lined string. Example output:.
test/debug.php:11 Test::foo(15, abc, Array(1, 2, Array)); test/debug.php:18 Test->bar(); test/debug.php:22 go();
$relative | (Boolean) If true (default), filenames will be shortened by making them relative to the document root. |
Definition at line 713 of file tlib.php.
References backtraceString().
static TLDebug::backtraceString | ( | $ | relative = True |
) | [static] |
Return a backtrace of all visited functions/classes as a single string where each function/method is on a new line. Example output:.
test/debug.php:11 Test::foo(15, abc, Array(1, 2, Array)) test/debug.php:18 Test->bar() test/debug.php:22 go()
$relative | (Boolean) If true (default), filenames will be shortened by making them relative to the document root. |
Definition at line 650 of file tlib.php.
Referenced by backtraceSingleLine().