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::getHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::getHttpVersionGet HTTP version

Description

public string HttpMessage::getHttpVersion ( void )

Get the HTTP Protocol Version of the Message.

Return Values

Returns the HTTP protocol version as string.


The HttpMessage class
PHP Manual