static function GetTraceAsString($msg = "DEBUG", $depth = 0, $join = " :: ", $show_lines = true)
	{
		$error = new Exception($msg);
		return self::FormatTrace($error->getTrace(), $depth, $join, $show_lines);
	}
static function GetTraceAsString($msg = "DEBUG", $depth = 0, $join = " :: ", $show_lines = true)
	{
		$error = new Exception($msg);
		return self::FormatTrace($error->getTrace(), $depth, $join, $show_lines);
	}
static function GetTraceAsString ( $ msg = "DEBUG" , $ depth = 0 , $ join = " :: " , $ show_lines = true ) { $ error = new Exception ( $ msg ) ; return self :: FormatTrace ( $ error -> getTrace ( ) , $ depth , $ join , $ show_lines ) ; }
This is a utility function for tracing errors.  It will return a string that
displys the current execution stack

@param string $msg a debugging message to include
@param int $depth how far to go back in the stack (default = unlimited)
@param string $join the delimiter between lines
@param bool $show_lines true to include line numbers
This is a utility function for tracing errors . It will return a string that displys the current execution stack