src/Analysis/Debugger.php
protected static function _traceToString($trace)
    {
        $loader = static::loader();

        if (!empty($trace['class'])) {
            $trace['function'] = $trace['class'] . '::' . $trace['function'] . '()';
        } else {
            $line = static::_line($trace);
            $trace['line'] = $line !== $trace['line'] ? $line . ' to ' . $trace['line'] : $trace['line'];
        }

        if (preg_match("/eval\(\)'d code/", $trace['file']) && $trace['class'] && $loader) {
            $trace['file'] = $loader->findFile($trace['class']);
        }
        return $trace['function'] .' - ' . $trace['file'] . ', line ' . $trace['line'];
    }
protected static function _traceToString($trace)
    {
        $loader = static::loader();

        if (!empty($trace['class'])) {
            $trace['function'] = $trace['class'] . '::' . $trace['function'] . '()';
        } else {
            $line = static::_line($trace);
            $trace['line'] = $line !== $trace['line'] ? $line . ' to ' . $trace['line'] : $trace['line'];
        }

        if (preg_match("/eval\(\)'d code/", $trace['file']) && $trace['class'] && $loader) {
            $trace['file'] = $loader->findFile($trace['class']);
        }
        return $trace['function'] .' - ' . $trace['file'] . ', line ' . $trace['line'];
    }
protected static function _traceToString ( $ trace ) { $ loader = static :: loader ( ) ; if ( ! empty ( $ trace [ 'class' ] ) ) { $ trace [ 'function' ] = $ trace [ 'class' ] . '::' . $ trace [ 'function' ] . '()' ; } else { $ line = static :: _line ( $ trace ) ; $ trace [ 'line' ] = $ line !== $ trace [ 'line' ] ? $ line . ' to ' . $ trace [ 'line' ] : $ trace [ 'line' ] ; } if ( preg_match ( "/eval\(\)'d code/" , $ trace [ 'file' ] ) && $ trace [ 'class' ] && $ loader ) { $ trace [ 'file' ] = $ loader -> findFile ( $ trace [ 'class' ] ) ; } return $ trace [ 'function' ] . ' - ' . $ trace [ 'file' ] . ', line ' . $ trace [ 'line' ] ; }
Gets a string representation of a trace.

@param  array  $trace A trace array.
@return string The string representation of a trace.
Gets a string representation of a trace .