8 It's been a long time since I wrote something here, mostly because I got
9 distracted by some real private life recently ;) and due to paid work of
10 course. Therefore I thought I'd round up what has happened behind the scenes
14 I rewrote the output control layer for PHP-6 some months ago and I'm about to
15 upgrade ext/zlib to see how it really works out.
18 I didn't contribute that much to this upcoming release. Two things I'd like to
19 mention are a fix for the Apache2 SAPI where each header("Content-Type:
20 aaa/bbb") caused Apache to add output filters for the type to the outgoing
21 filter chain and the addition of the error_get_last() function, which is a
22 convenient accessor to the last occured error without fiddling around with
23 INI(track_errors) and $php_errormsg.
27 There's official [documentation](http://php.net/http) now available online in
28 the PHP manual, yay! :) It's not fully fleshed out, but gives some feeling
29 about the provided functionality and hints on how to use this module.
31 [php|a](http://www.phparch.com/) published an article by me about pecl/http in
34 There have also been three releases since 1.0, the most recent one (1.2)
35 today. See the changes since then outlined below.
37 ### Improvements/Additions
39 * Improved response performance (HttpResponse, http_send API)
40 * Added http_build_cookie() function
41 * Added HttpQueryString::mod(array $params) method
42 * Added ArrayAccess to interfaces implemented by HttpQueryString
43 * Added HttpMessage::getHeader(string $name) method
47 * Fixed http_parse_cookie() allowed_extras and flags parameters
48 * Fixed configuration with shared dependencies
49 * Fixed endless loop in http_build_url("..")
50 * Fixed HttpResponse::capture() failure if buffered output exceeds 40k
51 * Fixed HttpQueryString failures with objects as params
52 * Fixed memory leaks with overloaded classes extending HTTP classes
53 * Fixed build with gcc-2.95 (Thanks to Alexander Zhuravlev)
54 * Fixed memory leak in inflate code (Thanks to Thomas Landro Johnsen)