public static UrlHelper::parse($url)
Parses a URL string into its path, query, and fragment components.
This function splits both internal paths like
node?b=c#d
and external URLs like
https://example.com/a?b=c#d
into their component parts. See RFC 3986 for an explanation of what the component parts are.
Note that, unlike the RFC, when passed an external URL, this function groups the scheme, authority, and path together into the path component.
Parameters
string $url: The internal path or e