Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return all the values of an array
<?php array_values(array $array): array
<?php     public function filter(?callable $f = null): self

    {

        return is_null($f)

            ? new static(array_values(array_filter($this->items)))

            : new static(array_values(array_filter($this->items, $f)));

    }
<?php     {

        return is_null($f)

            ? new static(array_values(array_filter($this->items)))

            : new static(array_values(array_filter($this->items, $f)));

    }



    public function first(callable $f)
<?php         $headers = Collection::of([$this->headers->toArray()]);

        $rows = $this->rows->map(

            function ($row) {

                return array_values($row);

            }

        );
<?php             }

        }



        return array_values($columnWidths);

    }



    private function makeHorizontalLine(array $columnWidths)
<?php     {

        $paddedColumns = [];



        foreach (array_values($columns->toArray()) as $columnNumber => $column) {

            $paddedColumns[] = $this->padColumn($column, $widths[$columnNumber]);

        }