Page MenuHomePhorge
Diviner Arcanist Tech Docs phutil_http_parameter_pair

function phutil_http_parameter_pair($key, $value)
Arcanist Technical Documentation ()

Typecheck and cast an HTTP key-value parameter pair.

Scalar values are converted to strings. Nonscalar values raise exceptions.

Parameters
scalar$keyHTTP parameter key.
scalar$valueHTTP parameter value.
Return
pair<string, string>Key and value as strings.