Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Prepend one or more elements to the beginning of an array
<?php array_unshift(array &$array, mixed ...$values): int
<?php         if (isset($trace[0]['file'], $trace[0]['line']) && $trace[0]['file'] === $file && $trace[0]['line'] === $line) {

            return;

        }

        array_unshift($trace, [

            'function' => $class ? 'new '.$class : null,

            'file' => $file,

            'line' => $line,

        ]);

    }



    private static function extractSource(string $srcLines, int $line, int $srcContext, string $lang, ?string $file, array $frame): EnumStub
<?php         ];

        if ($trace = $c->getTrace(\DEBUG_BACKTRACE_IGNORE_ARGS)) {

            $function = new \ReflectionGenerator($c->getExecutingGenerator());

            array_unshift($trace, [

                'function' => 'yield',

                'file' => $function->getExecutingFile(),

                'line' => $function->getExecutingLine() - (int) (\PHP_VERSION_ID < 80100),

            ]);

            $trace[] = $frame;

            $a[$prefix.'trace'] = new TraceStub($trace, false, 0, -1, -1);

        } else {