Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
The HttpMessage class
PHP Manual

HttpMessage::getResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::getResponseCodeGet response code

Description

public int HttpMessage::getResponseCode ( void )

Get the Response Code of the Message.

Return Values

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


The HttpMessage class
PHP Manual