PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpMessage::getBody> <HttpMessage::fromEnv
Last updated: Fri, 14 Nov 2008

view this page in

HttpMessage::fromString

(PECL pecl_http:0.10.0-1.3.3)

HttpMessage::fromString文字列から HttpMessage を作成する

説明

static public HttpMessage HttpMessage::fromString ([ string $raw_message [, string $class_name = 'HttpMessage' ]] )

文字列から HttpMessage オブジェクトを作成します。

この関数エイリアスは非推奨であり、下位互換性維持のために残されています。 今後、PHP から削除される可能性がありますので、この関数を使用しないことを推奨します。

パラメータ

raw_message

単一の、あるいは複数の連続した HTTP メッセージ。

class_name

HttpMessage を継承したクラス。

返り値

成功した場合は HttpMessage オブジェクト、失敗した場合は NULL を返します。

エラー / 例外

HttpMalformedHeadersException をスローします。



add a note add a note User Contributed Notes
HttpMessage::fromString
There are no user contributed notes for this page.

HttpMessage::getBody> <HttpMessage::fromEnv
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites