On Wed, Jul 2, 2025, 21:58 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 > > As a reminder, this list has been compiled over the course of the past > year by various different people. > > And as usual, each deprecation will be voted in isolation. > > We still have a bit of time buffer, so if anyone else has any suggestions, > they are free to add them to the RFC. > > Some should be non-controversial, others a bit more. > If such, they might warrant their own dedicated RFC, or be dropped from > the proposal altogether. > > Best regards, > > Gina P. Banyard > PDO::ERRMODE_WARNING I am ok with deprecating this mode as I cannot imagine why would anyone use it. However, can I suggest that we deprecate the silent mode too? How useful is the silent mode in PDO? ext/filter deprecations As much as I hate this extension, I don't think deprecating these functions is the right choice. It's not unheard of for someone to use filter_input without the filter parameter to avoid getting the warning on missing value. See the top comment on https://www.php.net/manual/en/function.filter-input.php#115086 Maybe we should just unbundle that whole extension? docref_root Can this still be used for development environment in another language? I.e. point to the manual in localized version? Deprecate using values of type null and bool as array offsets I can see the value in getting rid of it, but this behavior can be useful too. For example $tally[isEnabled($name)]++;