更新时间:2022-04-28 04:53:54
尝试:
simplexml_load_file(rawurlencode('http://127.0.0.1:8983/solr/select?q=*&fq=shopid:40&start=0&rows=18&fq=manufacturer:"Bausch' .urlencode('&'). 'Lomb"'))
参见file
参数说明:http://php.net/manual/en/function.simplexml-load-file.php