inarray() php code example Example: in_array in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) : bool