[php-src] PR #21840: ext/standard: document stream filter state reset on seek in UPGRADING
| From: | alexandre-daubois | Date: | Thu, 23 Apr 2026 11:23:01 +0000 |
| Subject: | [php-src] PR #21840: ext/standard: document stream filter state reset on seek in UPGRADING | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35844@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21840
Author: alexandre-daubois
#19981 (bug #49874) made stateful filters reset their state when the stream is sought to 0 (with
rewind(), fseek(), or stream_get_contents($h, -1, 0)). It is not currently mentioned in UPGRADING.
It seems to [break Symfony
CI](https://github.com/symfony/symfony/actions/runs/24782495613/job/72517221489#step:8:3802).
We'll update the code, but it worth mentioning in UPGRADING.