Get relevant backtrace info for last ref call
public static getBacktrace ( ) : array | false | ||
return | array | false |
public function endExp() { if (ref::config('showBacktrace') && ($trace = ref::getBacktrace())) { $this->out .= ' - ' . $trace['file'] . ':' . $trace['line']; } $this->out .= "\n" . str_repeat('=', strlen($this->out)) . "\n"; }
public function endExp() { if (ref::config('showBacktrace') && ($trace = ref::getBacktrace())) { $this->out .= "[0m[44;36m " . $trace['file'] . ':' . $trace['line']; } $this->out .= " [0m\n"; }
public function endExp($disableBacktrace = false) { if (!$disableBacktrace && ref::config('showBacktrace') && ($trace = ref::getBacktrace())) { $this->out .= "<{$this->def['base']} data-backtrace>{$trace['file']}:{$trace['line']}</{$this->def['base']}>"; } $this->out .= "</{$this->def['base']}><{$this->def['base']} data-output>"; }