Re: [PHP-DEV] [RFC] Deprecations for PHP 8.6 [impact scans]
[email protected] (Tim Düsterhus) Thu, 16 Jul 2026 12:54:59 +0200
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
Hi On 2026-07-16 00:44, Juliette Reinders Folmer wrote: > Deprecate identifiers in/out/inout: 33 occurrences > in 25 (includes Doctrine, Laminas, Laravel and Magento) > out 8 > inout 0 > Full details: > https://gist.github.com/jrfnl/9c1430200757daa529b5f9b667585b10 This one is a little misleadingly formatted with the example projects being listed on the “in” line. Doctrine is only affected by “out”. This of course doesn't change anything, since it's a bundled proposal, but since you explicitly split the numbers per-keyword, I wanted to point it out. > Deprecate _ as constant/compile time alias: 7 occurrences > Full details: > https://gist.github.com/jrfnl/f7ad1aad5842187e44c16be2f34ad9eb For this one, I suspect you counted the one in ajthinking\archetype--v2.0.0\src\snippets\relationships.php, which is already deprecated as of PHP 8.4. You might've also counted the `use function foo as _;` ones, which should be grouped with the “Deprecate _ as function name” ones. The voting widget is a little unclear, but the deprecation message for that one clearly specifies class names only, so `use Foo as _;` So from what I understand the actual number would be 0 instead. Best regards Tim Düsterhus