&lt;?php$a1 = array&#40;&quot;red&quot;, &quot;green&quot;&#41;;$a2 = array&#40;&quot;blue&quot;, &quot;yellow&quot;&#41;;print_r&#40;array_merge&#40;$a1, $a2&#41;&#41;;?&gt;
A. Array ( [0] => red [1] => green)
B. Array ( [0] => blue [1] => yellow [2] => red [3] => green )
C. Array ( [0] => red [1] => green [2] => blue [3] => yellow )
D. Array ( [0] => blue [1] => 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;;print_r&#40;array_merge&#40;$a1, $a2&#41;&#41;;?&gt;
A. Array ( [0] => red [1] => green) B. Array ( [0] => blue [1] => yellow [2] => red [3] => green ) C. Array ( [0] => red [1] => green [2] => blue [3] => yellow ) D. Array ( [0] => blue [1] => yellow )
Explanation: The array_merge() function merges one or more arrays into one array.