David Carrdcblogdev.hashnode.dev·Feb 9, 2017Splitting an array into smaller arrays using array_chunkThere a times when you have an array and need to slit that array into smaller ones, I usually reach for explode or a foreach and do some custom coding but there is a far better way that’s built into PHP a function called array_chunk. It accepts 3 pa...33 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.