Get information about a URL.
url: 'http://example.com/path?query=1'
{{ url | parse_url }}{{ url | parse_url('host') }}
[ 'scheme' => 'http', 'host' => 'example.com', 'path' => '/path', 'query' => 'query=1',]
example.com
parse_url
ModifierGet information about a URL.
url: 'http://example.com/path?query=1'
{{ url | parse_url }}{{ url | parse_url('host') }}
[ 'scheme' => 'http', 'host' => 'example.com', 'path' => '/path', 'query' => 'query=1',]
example.com
Submit improvements, related content, or suggestions through Github.
Betterify this page →