function phutil_http_parameter_pair($key, $value)Arcanist Technical Documentation ()
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 | $key | HTTP parameter key. |
scalar | $value | HTTP parameter value. |
Return
pair<string, string> | Key and value as strings. |
- Defined
- src/utils/utils.php:1739