<<< Previous question <<< Question ID#0550.md >>> Next question >>>
The following code snippet displays what for the resultant array?
$a = array(1 => 0, 3 => 2, 4 => 6);
$b = array(3 => 1, 4 => 3, 6 => 4);
print_r(array_intersect($a, $b));- A) An empty Array
- B) 1 => 0
- C) 1 => 3, 3 => 1, 4 => 3
- D) 3 => 1, 3=> 2, 4 => 3, 4=> 6
Answer
Answer: A