PHP 7.3.0 alpha 2 Released


(PECL pecl_http >= 0.10.0)

HttpRequest::setQueryDataSet query data


public bool HttpRequest::setQueryData ( mixed $query_data )

Set the URL query parameters to use, overwriting previously set query parameters.

Affects any request types.

Elenco dei parametri


a string or associative array parameter containing the pre-encoded query string or to be encoded query fields; if empty, the query data will be unset

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

add a note add a note

User Contributed Notes

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