Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL


(PECL pecl_http >= 1.5.0)

HttpMessage::fromEnvCreate HttpMessage from environment


static public HttpMessage HttpMessage::fromEnv ( int $message_type [, string $class_name = "HttpMessage" ] )

Create an HttpMessage object from script environment.

Elenco dei parametri


The message type. See HttpMessage type constants.


a class extending HttpMessage

Valori restituiti

Returns an HttpMessage object on success or NULL on failure.

Vedere anche:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top