Categories
How to divide an array into equal or almost equal parts?
We need a function for splitting an array into several, for example, into 3 with the same number of elements (well, or almost)
Answer the question
In order to leave comments, you need to log in
array_chunk()
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question