Hi internals, another RFC using attributes for 8.1. The patch itself for this is really small, but the implications require a detailed discussion and scrutiny.
This is my take on parameter names now being public API, at its future potential for code maintenance, refactoring and backwards compatibility. There might be other approaches that I am unaware of that would be better. This feature will probably also be helpful to allow more work on improving named params API of internal/core APIs, as the time period between named params RFC and 8.0 release was rather short and we might find that we want to further improve the names of internal parameters. https://wiki.php.net/rfc/named_parameter_alias_attribute https://github.com/php/php-src/pull/6522 Looking forward to your feedback. greetings Benjamin