Plugin Directory

array_partition

Version: 1.1.4 Adds function c2c_array_partition() to split an array into N number of evenly distributed partitions (i.e. split a list into N columns

Why not use PHP's built-in `array_chunk()`?

array_chunk()

allows you to specify the number of elements per partition, not how many partitions you want. (See Description.)

Requires: 1.2 or higher
Compatible up to: 3.5.1
Last Updated: 2012-12-11
Downloads: 431

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1