How to use array_slice and array_chunk together? What can array_slice do in array grouping?
array_chunk and array_slice are two very practical array processing functions. They are each powerful, and combined with the use can greatly improve the flexible operation of array data, especially when it is necessary to group large arrays and further cut the grouping results.
array_slice