downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

http_build_url> <http_throttle
[edit] Last updated: Fri, 26 Apr 2013

view this page in

http_build_str

(PECL pecl_http >= 0.23.0)

http_build_strBuild query string

Description

string http_build_str ( array $query [, string $prefix [, string $arg_separator = ini_get("arg_separator.output") ]] )

Opponent to parse_str().

Parameters

query

associative array of query string parameters

prefix

top level prefix

arg_separator

argument separator to use (by default the INI setting arg_separator.output will be used, or "&" if neither is set

Return Values

Returns the built query as string on success or FALSE on failure.

See Also



add a note add a note User Contributed Notes http_build_str - [1 notes]
up
0
g dot kuizinas at anuary dot com
2 months ago
For those who are using PECL pecl_http 2, you need to refer to HttpQueryString, which is now implemented under http namespace. Therefore,

<?php new \http\QueryString(); ?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites