What is the output in following codes? <?php $array1 = array("a" => "green", "red", "blue"); $array2 = array("b" => "green", "yellow", "red"); $result = array_intersect($array1, $array2); print_r($result); ?>
Correct Answer: Array ( [a] => green [0] => red )
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions