Parses an Accept-Language header string.
The Accept-Language header string.
Determines if invalid values throw errors (true) or log warnings (false). Defaults to false.
true
false
An array of AcceptLanguage objects, sorted by weight. Invalid ranges are ignored and not returned.
Parses an Accept-Language header string.