Hi, On Wed, Feb 5, 2025 at 2:15 PM Christoph M. Becker <cmbecke...@gmx.de> wrote:
> Hi all! > > 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. > > It was actually closed because of misunderstanding of the requested envs that are supplied by SAPI. So it's now re-open. We should also never close anything because it got to the drafted deprecation list. It can be closed only if it really gets deprecated. > 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 we should deprecate it. It's used in many applications. Cheers Jakub