Hi

Am 2026-03-16 17:55, schrieb Larry Garfield:
[…] Which functions? How will I even know? What's the plan here other than "we can do that later quietly without telling anyone" (because vanishingly few PHP devs look at Internals PRs that have no RFC)? That's what is missing.

As with any other user-facing change, the changes to the function signatures would be listed in the NEWS file and the UPGRADING guide and would then be incorporated into the documentation, both in the function’s signature and the changelog that is available on every function page (e.g. “8.6.0 The $sorting_order parameter was widened to int|SortDirection”). I suppose that tools like Rector will also be able to suggest migrating from the old constants to the enum when that happens.

Best regards
Tim Düsterhus

Reply via email to