<?php
$myArray = [
"fname" => "Sudhir",
"lname" => "Gour",
"age" => 27,
"city" => "Jaipur",
"state" => "Jaipur",
"country" => "India"
];
print_r(array_chunk($myArray , 3));
To embed this program on your website, copy the following code and paste it into your website's HTML: