Q23
What will be the output of the following PHP code ? "Jaguar", "b" => "Land Rover", "c" => "Audi", "d" => "Maseratti"); echo array_search("Audi", a); ?>
A.
a
B.
b
C.
c
AnswerD.
d
Answer: Option C
Solution
Answer: Option C
Solution:
The array_search() function searches for the element and returns the key of that element.