PHP » array_chunk
Split an array into chunks
| Parameters | Description |
|---|---|
| input | The array to work on |
| size | The size of each chunk |
| preserve_keys | When set to TRUE keys will be preserved. Default is FALSE which will reindex the chunk numerically |
Split an array into chunks
| Parameters | Description |
|---|---|
| input | The array to work on |
| size | The size of each chunk |
| preserve_keys | When set to TRUE keys will be preserved. Default is FALSE which will reindex the chunk numerically |