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