The PHP internals mailing list is discussing the RFC for deprecations planned for PHP 8.6. Gina P. Banyard announced the compiled list of proposed deprecations, each to be voted on individually, with a freeze deadline of July 13th. A notable debate emerged around whether the proposals include adequate impact analyses. Juliette Reinders Folmer criticized the lack of proper impact analysis across the ~25 proposals, while Tim Düsterhus argued that deprecations are not breaking changes and that impact analyses based on public code are inherently biased and incomplete. Rowan Tommins sided with Juliette, stating any proposal without impact data would receive an automatic 'No' vote. One concrete example shared was the 'return-in-finally' deprecation, where an analysis of the top ~5000 Composer packages found only 12 affected sites across 9 packages (0.18%), with 3 being actual latent bugs.

1h 24m read timeFrom externals.io
Post cover image
86 Impressions