Created attachment 178131 [details]
This extension provides server-side request and response objects for PHP 7.
These are *not* HTTP message objects proper. They are more like wrappers
for existing global PHP variables and functions, with some limited
additional convenience functionality.
This extension defines two classes in the global namespace:
- ServerRequest, composed of read-only copies of PHP superglobals and some
other commonly-used values, with methods for adding application-specific
request information in immutable fashion.
- ServerResponse, essentially a wrapper around (and buffer for) response-
related PHP functions, with some additional convenience methods, and self-
A PHP 5 userland implementation that tracks this extension is available at
Created attachment 178132 [details]
test on 10.3
Created attachment 178133 [details]
test on 11.0
A commit references this bug:
Date: Fri Dec 23 10:50:58 UTC 2016
New revision: 429244
Add pecl-request 1.0.0b1, provides server-side request and response
objects for PHP 7.
Submitted by: Gasol Wu <email@example.com>