$mixed
=
[
'scheme' => 'http',
'host' => 'hostname',
'user' => 'username',
'pass' => 'password',
'path' => '/path',
'query' => 'arg=value',
'fragment' => 'anchor',
]
#1
|
parse_url
|
("http://username:password@hostname/path?arg=value#anchor")
|
#2
|
parse_url
|
("http://username:password@hostname/path?arg=value#anchor", |
#3
|
parse_url
|
("//www.example.com/path?googleguy=googley")
|