Re: [RFC] Deprecations for PHP 8.6 [impact scans]
| From: | Tim Düsterhus | Date: | Thu, 16 Jul 2026 10:54:59 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.6 [impact scans] | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131963@lists.php.net to get a copy of this message | ||
Hi
On 2026-07-16 00:44, Juliette Reinders Folmer wrote:
Deprecate identifiers in/out/inout: 33 occurrencesThis 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.in 25 (includes Doctrine, Laminas, Laravel and Magento) out 8inout 0 Full details: https://gist.github.com/jrfnl/9c1430200757daa529b5f9b667585b10
Deprecate _ as constant/compile time alias: 7 occurrences Full details: https://gist.github.com/jrfnl/f7ad1aad5842187e44c16be2f34ad9ebFor 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