Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create an array containing a range of elements
<?php range(string|int|float $start, string|int|float $end, int|float $step = 1): array
<?php     {

        $recorder = new LogRecorder($this->app, 200);



        foreach (range(1, 400) as $i) {

            $log = new MessageLogged('info', 'test ' . $i, []);

            $recorder->record($log);

        }
<?php     {

        $recorder = new LogRecorder($this->app);



        foreach (range(1, 400) as $i) {

            $log = new MessageLogged('info', 'test ' . $i, []);

            $recorder->record($log);

        }
<?php         $recorder = new QueryRecorder($this->app, true, 200);

        $connection = app(Connection::class);



        foreach (range(1, 400) as $i) {

            $query = new QueryExecuted('query '.$i, [], time(), $connection);

            $recorder->record($query);

        }
<?php         $recorder = new QueryRecorder($this->app, true);

        $connection = app(Connection::class);



        foreach (range(1, 400) as $i) {

            $query = new QueryExecuted('query '.$i, [], time(), $connection);

            $recorder->record($query);

        }