©
本文档使用 PHP中文网手册 发布
(PECL pecl_http >= 0.10.0)
HttpRequest::getResponseCode — Get response code
Get the response code after the request has been sent.
If redirects were allowed and several responses were received, the data references the last received response.
Returns an int representing the response code.