Page MenuHomePhorge
Diviner libphutil Tech Docs phutil_http_parameter_pair

function phutil_http_parameter_pair($key, $value)
libphutil Technical Documentation (Core Utilities)

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.