Re: [RFC] Intent to Vote: Limit maximum number of filter chains
| From: | Sjoerd Langkemper | Date: | Tue, 02 Jun 2026 14:13:20 +0000 |
| Subject: | Re: [RFC] Intent to Vote: Limit maximum number of filter chains | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131108@lists.php.net to get a copy of this message | ||
Thank you for your feedback. I made the changes you requested to the RFC. Changing the global limit
with the context option looks like this:
stream_context_set_default(['filter' => ['max_filter_count' => 123]]);
And setting this (or any other non-existing option) has no effect on PHP versions that don't
support it.
Regards,
Sjoerd Langkemper