Sr. PHP Programmer Question:

What is use of in_array() function in php?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

in_array used to checks if a value exists in an array


Previous QuestionNext Question
How will you retrieve stack trace using Exception class in PHP when error occured?What is the use of $_REQUEST variable?