Question:The following code snippet displays what for the resultant array? <?php $a = array(1 => 0, 3 => 2, 4 => 6); $b = array(3 => 1, 4 => 3, 6 => 4); print_r(array_intersect($a, $b)); ?> 

A 1 => 0 

B 1 => 3, 3 => 1, 4 => 3 

C 3 => 1, 3=> 2, 4 => 3, 4=> 6 

D 1 => 0, 3 => 2, 4 => 6 

E An empty Array 

+ Answer
+ Report
Total Preview: 838

Copyright © 2024. Powered by Intellect Software Ltd