Re: [RFC] [VOTE] Deprecations for PHP 8.6

From: Date: Tue, 28 Jul 2026 07:36:25 +0000
Subject: Re: [RFC] [VOTE] Deprecations for PHP 8.6
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-132118@lists.php.net to get a copy of this message
Hi Pierre, Il 28/07/2026 05:52, Pierre Joye ha scritto:
For example, Symfony's native http client disable it by default as it fails/failed to work correctly with stream_select, according to the inline comment in https://github.com/symfony/symfony/blob/bb5999123482057647a0831010d14b6b34fe443c/src/Symfony/Component/HttpClient/NativeHttpClient.php#L227
FYI, Symfony has implemented a pure-PHP alternative in 8.2: https://github.com/symfony/symfony/commit/dca372b185100e82c556a741a96cbae1538162f2 That's why your search pointed in the wrong direction. Pre-8.2 there are a couple of: stream_filter_append(..., 'dechunk', \STREAM_FILTER_WRITE); in the code, if for whatever reason the Curl client is not in use.
I would go with keeping that deprecation, and if anything went off the radar, the major frameworks components will surely, or hopefully, provide the feedback required to revisit this deprecation before RC1. Yet, feedback on how to improve/mitigate was provided and ignored during the discussion period. Avoiding the deprecation on stream_filter_append(), as suggested, would have been nice.
Cheers -- Matteo Beccati

« previous php.internals (#132118) next »