&lt;?php$fname = array&#40;&quot;Peter&quot;, &quot;Ben&quot;, &quot;Joe&quot;&#41;;$age = array&#40;&quot;35&quot;, &quot;37&quot;, &quot;43&quot;&#41;;$c = array_combine&#40;$fname, $age&#41;;print_r&#40;$c&#41;;?&gt;
A. Array ( Peter Ben Joe )
B. Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
C. Array ( 35 37 43 )
D. Array ( “[Peter] => 35” “[Ben] => 37” “[Joe] => 43” )
Answer:A
&lt;?php$fname = array&#40;&quot;Peter&quot;, &quot;Ben&quot;, &quot;Joe&quot;&#41;;$age = array&#40;&quot;35&quot;, &quot;37&quot;, &quot;43&quot;&#41;;$c = array_combine&#40;$fname, $age&#41;;print_r&#40;$c&#41;;?&gt;
A. Array ( Peter Ben Joe ) B. Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) C. Array ( 35 37 43 ) D. Array ( “[Peter] => 35” “[Ben] => 37” “[Joe] => 43” )
Explanation: The array_combine() function creates an array by using the elements from one “keys” array and one “values” array.