&lt;?php$a1 = array&#40;&quot;red&quot;, &quot;green&quot;&#41;;$a2 = array&#40;&quot;blue&quot;, &quot;yellow&quot;&#41;;$a3 = array_merge&#40;$a1, $a2&#41;;$a4 = array&#40;&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;&#41;;$a = array_combine&#40;$a4, $a3&#41;;print_r&#40;$a&#41;;?&gt;
A. Array ( [a] => blue [b] => yellow [c] => red [d] => green )
B. Array ( [0] => blue [1] => yellow [2] => red [3] => green )
C. Array ( [0] => red [1] => green [2] => blue [3] => yellow )
D. Array ( [a] => red [b] => green [c] => blue [d] => yellow )
Answer:A
&lt;?php$a1 = array&#40;&quot;red&quot;, &quot;green&quot;&#41;;$a2 = array&#40;&quot;blue&quot;, &quot;yellow&quot;&#41;;$a3 = array_merge&#40;$a1, $a2&#41;;$a4 = array&#40;&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;&#41;;$a = array_combine&#40;$a4, $a3&#41;;print_r&#40;$a&#41;;?&gt;
A. Array ( [a] => blue [b] => yellow [c] => red [d] => green ) B. Array ( [0] => blue [1] => yellow [2] => red [3] => green ) C. Array ( [0] => red [1] => green [2] => blue [3] => yellow ) D. Array ( [a] => red [b] => green [c] => blue [d] => yellow )