[php-src] PR #20045: Refactor and add tests for stream filters
| From: | Girgias | Date: | Fri, 03 Oct 2025 11:30:20 +0000 |
| Subject: | [php-src] PR #20045: Refactor and add tests for stream filters | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33463@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20045
Author: Girgias
This has uncovered a memory leak, which I'm not exactly sure how it needs to be fixed.
These tests are in preparation for some refactoring I was doing and realised there were insufficient
tests.
A thing, that probably requires an RFC that would be a good idea is to mandate that the class name
passed to
stream_filter_register actually exists and is a child of
php_user_filter