1.

What will be the output of the following PHP code ?
  <?php $city_west = array("NYC", "London"); $city_east = array("Mumbai", "Beijing"); print_r(array_replace($city_west, $city_east)); ?>  

A. Array ( [1] =&gt; Mumbai [0] =&gt; Beijing )
B. Array ( [0] =&gt; NYC [1] =&gt; London )
C. Array ( [1] =&gt; NYC [0] =&gt; London )
D. Array ( [0] =&gt; Mumbai [1] =&gt; Beijing )
Answer» E.


Discussion

No Comment Found