On 2 July 2025 20:56:12 BST, "Gina P. Banyard" <intern...@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]