PHP in_array() Function
The in_array() function is an inbuilt function in PHP that is used to check whether a given value exists in an array or not. It returns TRUE if the given value is found in the given array, and FALSE otherwise. Syntax:bool in_array( $val, $array_name, $mode )Parameters:$val: value that needs to be se