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
Next revisionBoth sides next revision
rfc:switch.default.multiple [2014/09/05 21:39] – Note about old PHP 7 implementation levimrfc:switch.default.multiple [2014/09/16 14:08] – Closed voting. levim
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/sgolemon/php-src/compare/switch.default.multiple +  * PHP 7.0: https://github.com/php/php-src/pull/808
-      * This patch is no longer valid because of the AST merge; implementation of this RFC is trivial and can easily be added should the vote pass.+
  
 Already landed in HHVM: Already landed in HHVM:
Line 48: 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
Line 61: Line 60:
   * 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 UTC) and will close in ten days.   * 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