MAD_ROOT: unset
trace as $i => $frame) {
$glue = ($i==0) ? ' in ' : ': ';
echo "{$frame->fileStripped}({$frame->line})$glue{$frame->method}\n";
}
?>
Extracted source (around line #extraction->line ?>)
extraction->source); $width = strlen(key($this->extraction->source)); $rows = array(); foreach ($this->extraction->source as $line => $code) { // link to each line nuber $url = preg_replace('/line=\d+/', "line=$line", $this->trace[0]->url); $num = ''.str_repeat(' ', $width-strlen($line))."$line: "; // add link to entire line of code in question $code = htmlentities($code); $sel = ''; if ($line == $this->extraction->line) { $code = ''.$code.''; $sel = 'sel'; } // wrap each row as a "line" $rows[] = "{$num}{$code}"; } echo implode("", $rows); ?>