Given the following array:
$array = array(0 => 'blue', 1 => 'red', 2 => 'green', 3 => 'red');
Which one of the following will print 2?
Correct Answer: echo array_search('green', $array);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions