HttpQueryString::singleton

(PECL pecl_http >= 0.25.0)

HttpQueryString::singletonHttpQueryString singleton

說明

static public HttpQueryString HttpQueryString::singleton ([ bool $global = true ] )

Get a single instance (differentiates between the global setting).

參數

global

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

回傳值

Returns always the same HttpQueryString instance regarding the global setting.

錯誤/例外

Throws HttpRuntimeException.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top