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