HttpMessage
PHP 手册

HttpMessage::getResponseStatus

(PECL pecl_http >= 0.23.0)

HttpMessage::getResponseStatusGet response status

说明

public string HttpMessage::getResponseStatus ( void )

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

返回值

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


HttpMessage
PHP 手册