Universeorange.com/Docs/

R3m/framework Function reference array.chunk

{array.chunk(Array $array, Int $length, Bool $preserve_keys=false)}

Chunks an array into arrays with length elements.
The last chunk may contain less than length elements.

Returns a multidimensional numerically indexed array, starting with zero, with each dimension containing length elements.

More information:

https://www.php.net/manual/en/function.array-chunk.php

Last modified: 2021-06-07

© 2021 universeorange.com