PHPArrayarray_chunk

Splits an array into chunks.

Syntax

array_chunk(array $array, int $length): array