Re: [RFC] Deprecations for PHP 8.5

From: Date: Thu, 03 Jul 2025 08:52:58 +0000
Subject: Re: [RFC] Deprecations for PHP 8.5
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-127855@lists.php.net to get a copy of this message
On 2 July 2025 20:56:12 BST, "Gina P. Banyard" <internals@gpb.moe> wrote:
>Hello internals,
>
>It is this time of year again where we proposed a list of deprecations to add in PHP 8.5:
>
>https://wiki.php.net/rfc/deprecations_php_8_5

For FILTER_CALLBACK, I can see it being useful in the extended mode of filter_var_array, where a
separate filter and options can be defined for each key in the subject array. This allows you to
build up a set of filters in advance, using callbacks for advanced cases; or even to recurse into
another filter_var_array call on sub-arrays.

I am not a huge fan of the filter extension, but don't see any particular reason to remove this
one feature of it. 


Rowan Tommins
[IMSoP]


Thread (73 messages)

« previous php.internals (#127855) next »