in_array

 bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) 

説明

Searches haystack for needle using loose comparison unless strict is set.

戻り値

Returns TRUE if needle is found in the array, FALSE otherwise.