//Setup Web Service $client = new SoapClient("http://tts.itri.org.tw/TTSService/Soap_1_3.php?wsdl"); // Invoke Call to ConvertSimple $result=$client->ConvertSimple("Account","Password","合成文字位置"); // Iterate through the returned string array $resultArray=explode("&",$result); list($resultCode, $resultString, $resultConvertID) = $resultArray; echo "resultCode:".$resultCode." "; echo "resultString:".$resultString." "; echo "resultConvertID:".$resultConvertID." ";