rfc:generator-delegation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:generator-delegation [2015/03/15 19:21]
rdlowrey add vote end date
rfc:generator-delegation [2015/04/18 16:49]
bwoebi Status Implemented
Line 4: Line 4:
   * Author: Daniel Lowrey <rdlowrey@php.net>   * Author: Daniel Lowrey <rdlowrey@php.net>
   * Contributors: Bob Weinand <bwoebi@php.net>   * Contributors: Bob Weinand <bwoebi@php.net>
-  * Status: Voting+  * Status: Implemented in 7.0
   * First Published at: http://wiki.php.net/rfc/generator-delegation   * First Published at: http://wiki.php.net/rfc/generator-delegation
  
Line 75: Line 75:
                 $send = false;                 $send = false;
             } else {             } else {
-                $throw $e;+                throw $e;
             }             }
         }         }
Line 391: Line 391:
 ===== Rejected Ideas ===== ===== Rejected Ideas =====
  
-The original version of this RFC proposed a ''yield *'' syntax. This was rejected in favor of +The original version of this RFC proposed a ''yield *'' syntax. The ''yield *'' syntax was rejected in favor of 
-''yield from'' on the basis that it would break backwards compatibility. Additionally, the ''yield *'' +''yield from'' on the basis that ''*'' would break backwards compatibility. Additionally, the ''yield *'' 
-form was considered less readable option that the current proposal.+form was considered less readable than the current proposal.
  
  
Line 486: Line 486:
  
  
-===== Proposed Voting Choices =====+===== Vote =====
  
 A 2/3 "Yes" vote is required to implement this proposal. Voting will continue through March 29, 2015. A 2/3 "Yes" vote is required to implement this proposal. Voting will continue through March 29, 2015.
  
-<doodle title="Allow Generator delegation in PHP7" auth="rdlowrey" voteType="single" closed="false">+<doodle title="Allow Generator delegation in PHP7" auth="rdlowrey" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/generator-delegation.txt · Last modified: 2017/09/22 13:28 (external edit)