&lt;?php$city_west = array&#40;&quot;NYC&quot;, &quot;London&quot;&#41;;$city_east = array&#40;&quot;Mumbai&quot;, &quot;Beijing&quot;&#41;;print_r&#40;array_replace&#40;$city_west, $city_east&#41;&#41;;?&gt;
A. Array ( [1] => Mumbai [0] => Beijing )
B. Array ( [0] => NYC [1] => London )
C. Array ( [1] => NYC [0] => London )
D. Array ( [0] => Mumbai [1] => Beijing )
Answer:A
&lt;?php$city_west = array&#40;&quot;NYC&quot;, &quot;London&quot;&#41;;$city_east = array&#40;&quot;Mumbai&quot;, &quot;Beijing&quot;&#41;;print_r&#40;array_replace&#40;$city_west, $city_east&#41;&#41;;?&gt;
A. Array ( [1] => Mumbai [0] => Beijing ) B. Array ( [0] => NYC [1] => London ) C. Array ( [1] => NYC [0] => London ) D. Array ( [0] => Mumbai [1] => Beijing )