PHP Source:
<
!DOCTYPE
html
>
<
html
>
<
body
>
<?php
$age=
array
(
"Peter"
=>
"35"
,
"Ben"
=>
"37"
,
"Joe"
=>
"43"
,
"Harry"
=>
"50"
);
print_r(array_chunk($age,
2
,true));
?>
<
/body
>
<
/html
>
Result:
Privacy Policy