On Wed, 5 Feb 2025, Christoph M. Becker wrote:

> There is some discussion on a recent bug report[1] about 
> filter_input() and related functionality.  The bug report had been 
> closed, because this functionality has already been added to the 
> general deprecation RFC for PHP 8.5[2].  Then the OP raised a point 
> regarding the usefulness of filter_input() to get at the original 
> input, to avoid working with possibly modified superglobals.
> 
> In my opinion, this topic should be discussed here, and not in a bug 
> report.  So, has anybody thoughts about the filter_input() 
> deprecation?

I don't think they need to be deprecated, just because it is 
"confusing". They were added specifically so that you could operate on 
the original raw data.

cheers,
Derick

Reply via email to