With the introduction of function calls with named arguments in PHP
8.0, function parameter names are now a part of its signature:
renaming a parameter is a potential compatibility break. We need to
decide how that affects our stable interface policy.

Based on some informal discussions, the leading proposal is:
*parameter names are not stable, unless documented otherwise*.

Comments on this are welcome on Phabricator:
https://phabricator.wikimedia.org/T397789 (votes with tokens on that
task are also welcome, since we don't currently have a formal process
for changing the stable interface policy, and I'd like to be sure that
this actually has general approval).

Links for reference:
https://www.php.net/manual/en/functions.arguments.php#functions.named-arguments
https://www.mediawiki.org/wiki/Stable_interface_policy

-- 
Bartosz Dziewoński
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to