没关系,这似乎非常接近点!
原文链接:https://www.f2er.com/php/133189.htmlhttp://www.scottnichol.com/nusoapintro.htm
echo '<h2>Request</h2>'; echo '<pre>' . htmlspecialchars($client->request,ENT_QUOTES) . '</pre>'; echo '<h2>Response</h2>'; echo '<pre>' . htmlspecialchars($client->response,ENT_QUOTES) . '</pre>'; // Display the debug messages echo '<h2>Debug</h2>'; echo '<pre>' . htmlspecialchars($client->debug_str,ENT_QUOTES) . '</pre>';