The HttpQueryString class
PHP Manual

HttpQueryString::__construct

(PECL pecl_http >= 0.22.0)

HttpQueryString::__constructHttpQueryString constructor

说明

final public void HttpQueryString::__construct ([ bool $global = true [, mixed $add ]] )

Creates a new HttpQueryString object instance.

Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE.

参数

global

whether to operate on $_GET and $_SERVER['QUERY_STRING']

add

additional/initial query string parameters

错误/异常

Throws HttpRuntimeException.


The HttpQueryString class
PHP Manual