I have the following URL:
http://sub.mysite.com/store/?store=Fine+Ting&storeid=3726&test1=value1&test2=value2
Using print_r(parse_url($url))
gives me this:
Array (
[scheme] => http
[host] => sub.mysite.com
[path] => /store/
[query] => store=Fine+Ting&
[fragment] => 038;storeid=3726&test1=value1&test2=value2
)
According to the documentation I should only get fragment
after the hashmark #.
Why then is parse_url
returning fragment? Shouldn't that be in [query]
?