-# static string http\Env::negotiateEncoding(array $supported[, array &$result)
+# static string http\Env::negotiateEncoding(array $supported[, array &$result])
Negotiate the client's preferred encoding.
> ***NOTE:***
-> The first elemement of $supported encodings serves as a default if no encoding matches.
+> The first element of $supported encodings serves as a default if no encoding matches.
## Params:
* array $supported
List of supported content encodings.
-* Optional reference array &$result
+* Optional array &$result
Out parameter recording negotiation results.
## Returns: