not in array function in php code example
Example: in array php
// Syntax:
in_array ( mixed $needle , array $haystack , bool $strict = false ) : bool
// Example:
$fruits = array('apple', 'banana', 'orange');
in_array('apple', $fruits); // true
in_array('mango', $fruits); // false