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