bug 32168. This function is the inverse of wfParseUrl and is useful when you need to modify part of a URL and have to put it back together. Further, with the addition of this function, there is sufficient code in core to create a proper URI class.