rfc:first_class_callable_syntax

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:first_class_callable_syntax [2021/06/29 08:34] nikicrfc:first_class_callable_syntax [2021/07/16 09:55] (current) nikic
Line 2: Line 2:
   * Date: 2021-05-20   * Date: 2021-05-20
   * Author: Nikita Popov <nikic@php.net>, Joe Watkins <krakjoe@php.net>   * Author: Nikita Popov <nikic@php.net>, Joe Watkins <krakjoe@php.net>
-  * Status: Under Discussion+  * Status: Implemented
   * Target Version: PHP 8.1   * Target Version: PHP 8.1
   * Implementation: https://github.com/php/php-src/pull/7019   * Implementation: https://github.com/php/php-src/pull/7019
Line 30: Line 30:
 $fn = fn(...$args) => Foo::method(...$args); $fn = fn(...$args) => Foo::method(...$args);
 </PHP> </PHP>
 +
 +The syntax is forward-compatible with [[rfc:partial_function_application|partial functions application]].
  
 ===== Proposal ===== ===== Proposal =====
Line 215: Line 217:
 ===== Vote ===== ===== Vote =====
  
-Yes/No.+Voting started on 2021-07-02 and closes on 2021-07-16. 
 + 
 +<doodle title="Introduce first-class callable syntax as proposed?" auth="nikic" voteType="single" closed="true"> 
 +   Yes 
 +   No 
 +</doodle> 
rfc/first_class_callable_syntax.1624955684.txt.gz · Last modified: 2021/06/29 08:34 by nikic