下面是我發佈到API後得到的回覆....我不認爲parse_url會削減它。有沒有內置的PHP函數或更好的方法把它變成一個數組?這是的var_dump將此響應解析爲關聯數組的最佳方法?
sting(163) "response=3&responsetext=Duplicate transaction REFID:115545335&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=auth&response_code=300&processor_id="
尋找['parse_str'](http://www.php.net/manual/en/function.parse-str.php)? – 2011-03-07 19:04:24