debug_backtrace

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Generates a backtrace
debug_backtrace(int $options DEBUG_BACKTRACE_PROVIDE_OBJECTint $limit 0): array
    public function getContext(): ?array

    {

        
$trace debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT \DEBUG_BACKTRACE_IGNORE_ARGS$this->limit);



        
$file $trace[1]['file'];

        
$line $trace[1]['line'];