unittest\Output::backtrace PHP Method

backtrace() public method

The output generator is at fault for providing it simplified.
public backtrace ( array $backtrace, $type = self::ERROR ) : void
$backtrace array debug_print_backtrace()
return void
    public function backtrace($backtrace, $type = self::ERROR)
    {
        $endtrace = '';
        for ($a = 0; $a != count($backtrace); $a++) {
            if (isset($backtrace[$a]['file']) && isset($backtrace[$a]['line'])) {
                $endtrace .= sprintf("{%s} - %s %s %s\n", $a, $backtrace[$a]['file'], $backtrace[$a]['line'], $backtrace[$a]['function']);
            }
        }
        $this->send($endtrace, $type);
    }