The HttpMessage class
PHP Manual

HttpMessage::getResponseStatus

(PECL pecl_http:0.23.0-1.5.5)

HttpMessage::getResponseStatusGet response status

Description

public string HttpMessage::getResponseStatus ( void )

Get the Response Status of the message (i.e. the string following the response code).

Return Values

Returns the HTTP response status string if the message is of type HttpMessage::TYPE_RESPONSE, else FALSE.


The HttpMessage class
PHP Manual