最常用的
Comments
Last comments for parse_url()
On 20. Mar 2015 03:14 anson wrote:
### url http://www.example.com/item.htm?spm=a217n.7287937.1998158644-1.5.uuAsMk&id=43122686836 ### The result of online test , which is right obviously array ( 'scheme' => 'http', 'host' => 'www.example.com', 'path' => '/item.htm', 'query' => 'spm=a217n.7287937.1998158644-1.5.uuAsMk&id=43122686836', ) ### And here is my result, u can see that the "query" loses the param "id" Array ( [scheme] => http [host] => www.example.com [path] => /item.htm [query] => spm=a217n.7287937.1998158644-1.5.uuAsMk ) ### environment Windows 7 PHP Version 5.3.28 ### Anyone encountered the same problem ?