http_build_query()
The http_build_query() function generates URL-encoded query strings from associative arrays. This is useful for creating query strings for URLs or HTTP requests.