Function
array_chunk
Synopsis
array_chunk(mixed, int, bool ...): array
- Area
Runtime\PS\Core\Arrays\Sets\array_chunkareas
Description
array_chunk splits $array into arrays of at most $length entries; it keys the chunks from zero either way, and $preserve_keys decides whether the entries inside them keep their own keys or get new ones from zero.
Usage
$value = array_chunk($arguments);
$fn = array_chunk(...);