Пример #1
0
 function handleDevError($errno, $errstr, $errfile, $errline, $context, $backtrace)
 {
     $errorLine = self::formatErrorLineHtml($errno, $errstr, $errfile, $errline, $context, $backtrace);
     echo '<p>' . $errorLine . '</p>';
     $backtrace = $backtrace ? $backtrace : debug_backtrace();
     // array_shift($backtrace);
     FormatBacktraceHtml($backtrace);
 }
Пример #2
0
/**
 * Echos an HTML-formatted backtrace
 *
 * @param unknown_type $value I don't know what this is for
 */
function EchoBacktrace($value = '')
{
    echo FormatBacktraceHtml(debug_backtrace());
}