What is the use of in_array() function in PHP?
The in_array()
function is used to search for the given string in an array. It returns TRUE if the given string is found in the array, and FALSE otherwise.
Learn more about the similar topics:
Tutorials |
---|
No Content Found. |
Exercises & Assignments |
---|
No Content Found. |
Interview Questions & Answers |
---|
No Content Found. |