rfc:named_params
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:named_params [2020/07/06 14:45] – nikic | rfc:named_params [2022/05/26 15:31] (current) – Revert previous accidental change iquito | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2013-09-06, significantly updated 2020-05-05 | * Date: 2013-09-06, significantly updated 2020-05-05 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
* Target Version: PHP 8.0 | * Target Version: PHP 8.0 | ||
* Implementation: | * Implementation: | ||
Line 331: | Line 331: | ||
</ | </ | ||
- | These calls are subject to the same restrictions as normal | + | These calls are subject to the same restrictions as normal, for example there may not be positional arguments after named arguments. |
For '' | For '' | ||
Line 415: | Line 415: | ||
As previously mentioned, this approach is also used by some existing languages, most notably Python, which is one of the languages with the heaviest usage of named arguments. This is hard evidence that such an approach does work reasonably well in practice, though of course the situations are somewhat different. | As previously mentioned, this approach is also used by some existing languages, most notably Python, which is one of the languages with the heaviest usage of named arguments. This is hard evidence that such an approach does work reasonably well in practice, though of course the situations are somewhat different. | ||
- | The [[# | + | The [[# |
==== Internal functions ==== | ==== Internal functions ==== | ||
Line 739: | Line 739: | ||
===== Vote ===== | ===== Vote ===== | ||
- | Primary votes: Yes/No | + | Voting opened 2020-07-10 and closes 2020-07-24. A 2/3 majority is required. |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | | ||
+ | </ | ||
===== Changelog ===== | ===== Changelog ===== |
rfc/named_params.1594046708.txt.gz · Last modified: 2020/07/06 14:45 by nikic