Q6
What will be the output of the following PHP code?
A.
True
B.
1
C.
False
D.
2
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
The array_search() function searches an array for a specified value, returning its key if located and FALSE otherwise.