The What
Syntax
array array_chunk ( array $array , int $size [, bool $preserve_keys = false ] );
Description
The array_chunk
function’s role is to chunk an array into arrays with size elements. The last chunk may contain less than size elements.
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.