rfc:switch.default.multiple
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:switch.default.multiple [2014/09/05 20:21] – levim | rfc:switch.default.multiple [2014/09/16 14:48] – Added link to commit for master branch. levim | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2014-08-05 | * Date: 2014-08-05 | ||
* Author: Levi Morrison < | * Author: Levi Morrison < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | [[https:// | + | [[https:// |
switch ($expr) { | switch ($expr) { | ||
Line 32: | Line 32: | ||
* PHP 5.7: https:// | * PHP 5.7: https:// | ||
- | * PHP 7.0: https:// | + | * PHP 7.0: https:// |
Already landed in HHVM: | Already landed in HHVM: | ||
Line 42: | Line 42: | ||
===== Vote ===== | ===== Vote ===== | ||
+ | |||
+ | This RFC modifies the PHP language and requires 2/3 vote in the affirmative to pass. Voting will remain open through Monday, September 15th. | ||
Should we deprecate multiple default clauses in switch statements in PHP 5.7 and remove them in PHP 7, as outlined and implemented in this RFC? | Should we deprecate multiple default clauses in switch statements in PHP 5.7 and remove them in PHP 7, as outlined and implemented in this RFC? | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
</ | </ | ||
+ | |||
+ | Voting was unambiguously in favor of this RFC. | ||
===== Changelog ===== | ===== Changelog ===== | ||
Line 57: | Line 61: | ||
* Changes RFC to target PHP 7 for removal, with deprecations going into PHP 5.7. | * Changes RFC to target PHP 7 for removal, with deprecations going into PHP 5.7. | ||
* Added implementation for PHP 5.7 (2014-09-05 20:42 UTC) | * Added implementation for PHP 5.7 (2014-09-05 20:42 UTC) | ||
- | * Voting is open (2014-09-05 21:19 TUC) | + | * Voting is open (2014-09-05 21:19 UTC) and will close in ten days. |
+ | * Updated implementation for PHP 7.0 because of AST merge (2014-09-05 22:16 UTC) |
rfc/switch.default.multiple.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1