(PECL pecl_http 0.10.0-1.3.3)
HttpMessage::fromString — Create HttpMessage from string
Create an HttpMessage object from a string.
本函数别名已废弃,仅为了向后兼容性而存在。建议不要使用它,因为或许哪天它便会从 PHP 中删除。
a single or several consecutive HTTP messages
a class extending HttpMessage
Returns an HttpMessage object on success or NULL on failure.
Throws HttpMalformedHeadersException.