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