PHP Dokumentation: Function httprequest-getresponsecode
12. Januar 2010 von werner
HttpRequest::getResponseCode
(PECL pecl_http >= 0.10.0)
HttpRequest::getResponseCode — Get response code
Beschreibung
public int HttpRequest::getResponseCode ( void )
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.
Rückgabewerte
Returns an int representing the response code.