HttpQueryString
PHP Manual

HttpQueryString::set

(PECL pecl_http >= 0.22.0)

HttpQueryString::setSet query string params

Description

public string HttpQueryString::set ( mixed $params )

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

Parameters

params

query string params to add

Return Values

Returns the current query string.


HttpQueryString
PHP Manual