What is the use of array_chunk() function in PHP?
The array_chunk() function is used to split an array into parts or chunks of new arrays. Example: array_chunk(array,size);
The first parameter specifies an array and the second parameter defines the size of each chunk.
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |