HttpRequest::getResponseCode
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::getResponseCode — Get response code
Description
public
int HttpRequest::getResponseCode
( void
)
If redirects were allowed and several responses were received, the data
references the last received response.
Return Values
Returns an int representing the response code.