PHP 7.2.0 Alpha 2 Released


The HTTP extension aims to provide a convenient and powerful set of functionality for major applications.

The HTTP extension eases handling of HTTP URLs, dates, redirects, headers and messages in a HTTP context (both incoming and outgoing). It also provides means for client negotiation of preferred language and charset, as well as a convenient way to exchange arbitrary data with caching and resuming capabilities.

Also provided is a powerful request and parallel interface (PHP5+), if the extension is built with cURL support.

Additionally to the API reference in this manual you can find information about how to install and configure as well as which global constants are predefined in the following sections:

add a note add a note

User Contributed Notes 2 notes

lsloan-php dot net@umich dot edu
2 years ago
Note that the documentation for the http module is out of date!

If you install the module via pecl today, you get v2.4.3 of the module or newer.  The API of v2.* is completely different than that shown here.  It's very important that you follow the link shown in the documentation here to reach the correct documentation.  Hopefully that documentation will appear here on soon.
stephen at reporo dot com
1 year ago
If you want to install the version documented here (recommended):
pecl install
To Top