public static function checkValueTypes(array $types, $value)
	{
		foreach ($types as $type)
		{
			$type = strtolower($type);
			if (array_key_exists($type, self::$hints) && call_user_func(self::$hints[$type], $value)) return true;
			if (is_object($value) && @is_a($value, $type)) return true;
			if ($type === 'mixed') return true;
		}
		return false;
	}
public static function checkValueTypes(array $types, $value)
	{
		foreach ($types as $type)
		{
			$type = strtolower($type);
			if (array_key_exists($type, self::$hints) && call_user_func(self::$hints[$type], $value)) return true;
			if (is_object($value) && @is_a($value, $type)) return true;
			if ($type === 'mixed') return true;
		}
		return false;
	}
public static function checkValueTypes ( array $ types , $ value ) { foreach ( $ types as $ type ) { $ type = strtolower ( $ type ) ; if ( array_key_exists ( $ type , self :: $ hints ) && call_user_func ( self :: $ hints [ $ type ] , $ value ) ) return true ; if ( is_object ( $ value ) && @ is_a ( $ value , $ type ) ) return true ; if ( $ type === 'mixed' ) return true ; } return false ; }
Checks a value to the allowed types

@param   array  $types
@param   mixed  $value
@return  bool
Checks a value to the allowed types