rfc:spread_operator_for_array
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:spread_operator_for_array [2019/04/05 13:35] – more example jhdxr | rfc:spread_operator_for_array [2019/04/21 19:39] – jhdxr | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2018-10-13 | * Date: 2018-10-13 | ||
* Author: CHU Zhaowei, jhdxr@php.net | * Author: CHU Zhaowei, jhdxr@php.net | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 36: | Line 36: | ||
} | } | ||
$arr6 = [...getArr(), | $arr6 = [...getArr(), | ||
+ | |||
+ | $arr7 = [...new ArrayIterator([' | ||
+ | |||
+ | function arrGen() { | ||
+ | for($i = 11; $i < 15; $i++) { | ||
+ | yield $i; | ||
+ | } | ||
+ | } | ||
+ | $arr8 = [...arrGen()]; | ||
</ | </ | ||
Line 99: | Line 108: | ||
===== RFC Impact ===== | ===== RFC Impact ===== | ||
==== To Opcache ==== | ==== To Opcache ==== | ||
- | I'm not sure if this RFC will have any impact on Opcache. I'll check it after I finish | + | Some changes in opcache to support |
+ | ===== Vote ===== | ||
+ | Voting started 2019-04-22 and ends 2019-05-06. A 2/3 majority is required. | ||
- | ===== Proposed Voting Choices ===== | + | <doodle title=" |
- | As this is a language change, a 2/3 majority is required. | + | * Yes |
+ | * No | ||
+ | </doodle> | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== |
rfc/spread_operator_for_array.txt · Last modified: 2019/05/13 12:45 by nikic