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