How can I use the array_chunk function to split an array into chunks in PHP? Example code: - Biz Tech

How can I use the array_chunk function to split an array into chunks in PHP? Example code:

Listen
$fruits = array("apple", "banana", "orange", "grape", "peach", "plum");

$chunks = array_chunk($fruits, 3);

print_r($chunks);