The PHP internals mailing list thread covers the proposed RFC for deprecations in PHP 8.6, compiled over the past year by multiple contributors. Each deprecation will be voted on individually, with the RFC needing to be finalized by July 13th. Key discussion points include: concerns about missing impact analyses for most proposals (with the 'return-in-finally' deprecation being a positive exception, affecting only 0.18% of top Composer packages); debate over deprecating the `_()` alias for `gettext()` due to widespread use; controversy around deprecating `CURLOPT_PROGRESSFUNCTION` given its use in Guzzle and Symfony (with a suggestion to internally remap it to `CURLOPT_XFERINFOFUNCTION` instead); disagreement over deprecating 'let' as an identifier; and questions about the 'Deprecate ArrayIterator methods' proposal's vague optimization promises.

20m read timeFrom externals.io
Post cover image
140 Impressions