string http\Env::negotiate(string $params, array $supported[, string $prim_typ_sep[, array &$result]])Generic negotiator. For specific client negotiation see http\Env::negotiateContentType() and related methods.
NOTE:
The first element of $supported serves as a default if no operand matches.
string $params#array $supported#string $prim_typ_sep#array &$result#NULL, if negotiation fails.string, the closest match negotiated, or the default (first entry of $supported).