Q. What is the result of the following PHP code?
Code:
<?php
$arr1 = array("A", "B");
$arr2 = array("C", "D");
$arr3 = array_replace($arr1, $arr2);
print_r($arr3);
?>
β
Correct Answer: (A)
Array([0] => C, [1] => D)