HttpQueryString
PHP 手册

HttpQueryString::__construct

(PECL pecl_http >= 0.22.0)

HttpQueryString::__constructHttpQueryString constructor

说明

final public 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.


HttpQueryString
PHP 手册