From 4851331162f13834a2ec356a2f81ff694cb91513 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Sun, 30 Sep 2007 20:12:17 +0000 Subject: it_debug docs --- auto_prepend.php | 3 ++- it_debug.class | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/auto_prepend.php b/auto_prepend.php index da31810..c1871f2 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -56,7 +56,8 @@ function ED() } /** - * Same as ED(), but first argument is string that must be in $_REQUEST['debug'] + * Same as ED(), but if first argument is foo then $GLOBALS['debug_foo'] must be set for output + * @return boolean indicating whether $GLOBALS['debug_foo'] was set */ function EDC() { diff --git a/it_debug.class b/it_debug.class index 5069185..e654851 100644 --- a/it_debug.class +++ b/it_debug.class @@ -127,6 +127,10 @@ function dump($args) return "$r\n"; } +/** + * Print short stackdump + * @param $skip number of stack levels to omip + */ function backtrace($skip = 0) { $result = array(); -- cgit v1.2.3