rfc:arrow_functions_v2

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
Last revision Both sides next revision
rfc:arrow_functions_v2 [2019/04/18 11:00]
nikic change status
rfc:arrow_functions_v2 [2020/04/18 14:54]
sebastian Less party
Line 6: Line 6:
   * Target version: PHP 7.4   * Target version: PHP 7.4
   * Implementation: https://github.com/php/php-src/pull/3941   * Implementation: https://github.com/php/php-src/pull/3941
-  * Status: Voting+  * Status: Accepted
  
 ===== Introduction ===== ===== Introduction =====
  
 Anonymous functions in PHP can be quite verbose, even when they only perform a simple operation. Anonymous functions in PHP can be quite verbose, even when they only perform a simple operation.
-Partly this is due to a large amount of syntactic boilerplate, and party due to the need to manually+Partly this is due to a large amount of syntactic boilerplate, and partly due to the need to manually
 import used variables. This makes code using simple closures hard to read and understand. This RFC import used variables. This makes code using simple closures hard to read and understand. This RFC
 proposes a more concise syntax for this pattern. proposes a more concise syntax for this pattern.
Line 261: Line 261:
 Voting started 2019-04-17 and ends 2019-05-01. A 2/3 majority is required. Voting started 2019-04-17 and ends 2019-05-01. A 2/3 majority is required.
  
-<doodle title="Add arrow functions as described in PHP 7.4?" auth="nikic" voteType="single" closed="false">+<doodle title="Add arrow functions as described in PHP 7.4?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/arrow_functions_v2.txt · Last modified: 2020/08/01 23:53 by carusogabriel