Skip to content

streams: check class exists when attempting to register stream filter#22823

Draft
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream_register_filter_class_must_exist
Draft

streams: check class exists when attempting to register stream filter#22823
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream_register_filter_class_must_exist

Conversation

@Girgias

@Girgias Girgias commented Jul 20, 2026

Copy link
Copy Markdown
Member

And do a few other checks such as is the class even instantiable. It might make sense in the future to raise a deprecation if the class does not extend php_user_filter or create a new StreamFilter interface so that we know the various methods exist

And do a few other checks such as is the class even instantiable.
It might make sense in the future to raise a deprecation if the class does not extend php_user_filter or create a new StreamFilter interface so that we know the various methods exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant