HttpQueryString
PHP 手册

HttpQueryString::set

(PECL pecl_http >= 0.22.0)

HttpQueryString::setSet query string params

说明

public string HttpQueryString::set ( mixed $params )

Set query string entry/entries. NULL values will unset the variable.

参数

params

query string params to add

返回值

Returns the current query string.


HttpQueryString
PHP 手册