What is the use of in_array() function in PHP?

php.png

If you want to check particular value exists in an array or not,then you can use in_array() function.

Example:


Output:

PHP exists

For Technology Business write for us blogs submissions you can send your blog at developergang1@gmail.com