rfc:switch.default.multiple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:switch.default.multiple [2014/09/05 22:16] – Updated implementation for PHP 7.0 because of AST merge levimrfc:switch.default.multiple [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2014-08-05   * Date: 2014-08-05
   * Author: Levi Morrison <levim@php.net>   * Author: Levi Morrison <levim@php.net>
-  * Status: Under Discussion+  * Status: Accepted
   * First Published at: http://wiki.php.net/rfc/switch.default.multiple   * First Published at: http://wiki.php.net/rfc/switch.default.multiple
  
Line 32: Line 32:
  
   * PHP 5.7: https://github.com/php/php-src/pull/807   * PHP 5.7: https://github.com/php/php-src/pull/807
-  * PHP 7.0: https://github.com/php/php-src/pull/808+  * PHP 7.0: https://github.com/php/php-src/pull/808 (commit [[http://git.php.net/?p=php-src.git;a=commit;h=6967f78cc95ef6166f82dcb7e4395f594ce5ad0b|6967f78cc95ef6166f82dcb7e4395f594ce5ad0b]])
  
 Already landed in HHVM: Already landed in HHVM:
Line 47: Line 47:
 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="switch.default.multiple" auth="levim" voteType="single" closed="false">+<doodle title="switch.default.multiple" auth="levim" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
 </doodle> </doodle>
 +
 +Voting was unambiguously in favor of this RFC.
  
 ===== Changelog ===== ===== Changelog =====
rfc/switch.default.multiple.1409955391.txt.gz · Last modified: 2017/09/22 13:28 (external edit)