classes/Kohana/Helpers/Arr.php
public static function inArray($needle, $haystack, $strict = NULL)
	{
		return static::is_array($haystack) && in_array($needle, $haystack, $strict);
	}
public static function inArray($needle, $haystack, $strict = NULL)
	{
		return static::is_array($haystack) && in_array($needle, $haystack, $strict);
	}
public static function inArray ( $ needle , $ haystack , $ strict = NULL ) { return static :: is_array ( $ haystack ) && in_array ( $ needle , $ haystack , $ strict ) ; }
Checks if a value exists in an array

@param mixed $needle   The searched value
@param mixed $haystack The array
@param bool  $strict   [optional]

@return bool true if needle is found in the array, false otherwise.
Checks if a value exists in an array