parseUrl()
parseUrl(string $url) : array
Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.
Parameters
string | $url | URL to parse |
Returns
array —Returns an array identical to what is returned from parse_url(). When an array key is missing from this array, you must fill it in with NULL to avoid warnings in calling code.