1// two arrays one become keys and second becomes values
2array_combine ( array $keys , array $values );
1Input : $a1=array("a"=>"raj", "b"=>"striver");
2 $a2=array("z"=>"geeks", "b"=>"articles");
3Output :
4Array
5(
6 [a] => raj
7 [b] => Array
8 (
9 [0] => striver
10 [1] => articles
11 )
12
13 [z] => geeks
14)