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

(PECL pecl_http >= 0.10.0)

HttpMessage::toStringGet string representation

Description

public string HttpMessage::toString ([ bool $include_parent=false ] )

Get the string representation of the Message.

Parameters

include_parent

specifies whether the returned string should also contain any parent messages

Return Values

Returns the message as string.


The HttpMessage class
PHP Manual