rfc:list_reference_assignment
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:list_reference_assignment [2017/01/11 22:38] – bp1222 | rfc:list_reference_assignment [2017/02/06 17:22] – bp1222 | ||
---|---|---|---|
Line 131: | Line 131: | ||
==== To Opcache ==== | ==== To Opcache ==== | ||
Maybe, I don't know enough about opcache to say if changing current ops by adding an extended value would impact. | Maybe, I don't know enough about opcache to say if changing current ops by adding an extended value would impact. | ||
- | |||
- | ===== Open Issues ===== | ||
- | ==== Both Syntax ==== | ||
- | The proposal follows the syntactic choice in allowing you to specify to each element in the list() which should be referenced into the target array. | ||
- | <file php> | ||
- | <?php | ||
- | $array = [1, 2, 3]; | ||
- | list($a, $b, $c) =& $array; | ||
- | </ | ||
- | |||
- | Which would be identical to proposed syntax: | ||
- | <file php> | ||
- | <?php | ||
- | $array = [1, 2, 3]; | ||
- | list(& | ||
- | </ | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
Will require 2/3 | Will require 2/3 | ||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== |
rfc/list_reference_assignment.txt · Last modified: 2017/12/09 12:43 by nikic