Re: [RFC] Intent to Vote: Limit maximum number of filter chains

From: Date: Wed, 03 Jun 2026 09:10:30 +0000
Subject: Re: [RFC] Intent to Vote: Limit maximum number of filter chains
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-131119@lists.php.net to get a copy of this message
Hi Am 2026-06-02 16:13, schrieb Sjoerd Langkemper:
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.
Thank you, this is helpful. It previously wasn't clear to me from the RFC that the . in the context option name was meant to indicate nesting. I've given the RFC another read and I don't have further comments. The proposal makes sense and 16 seems to be a reasonable default. Best regards Tim Düsterhus

« previous php.internals (#131119) next »