Interface UrlParserInterface
URL parser interface
Methods summary
-
publicparseUrl ( string $url )Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.
Methods detail
Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.
Parameters
- $url
string
$url URL to parse
Returns
arrayReturns 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.