rfc:closures_in_const_expr

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:closures_in_const_expr [2024/11/05 08:46] – Formatting timwollarfc:closures_in_const_expr [2024/12/02 17:27] (current) – Implemented timwolla
Line 3: Line 3:
   * Date: 2024-10-24   * Date: 2024-10-24
   * Author: Tim Düsterhus (tim@tideways-gmbh.com), Volker Dusch (volker@tideways-gmbh.com)   * Author: Tim Düsterhus (tim@tideways-gmbh.com), Volker Dusch (volker@tideways-gmbh.com)
-  * Status: Under Discussion+  * Status: Implemented 
 +  * Target Version: PHP 8.5 
 +  * Implementation: https://github.com/php/php-src/commit/f6a0bb4d0442d2780c61d32d01c117024eccab57
   * First Published at: https://wiki.php.net/rfc/closures_in_const_expr   * First Published at: https://wiki.php.net/rfc/closures_in_const_expr
  
Line 202: Line 204:
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
  
-<doodle title="Support Closures in constant expressions as proposed?" auth="timwolla" voteType="single" closed="true" closeon="2024-06-05T08:00:00Z">+<doodle title="Support Closures in constant expressions as proposed?" auth="timwolla" voteType="single" closed="true" closeon="2024-11-27T14:00:00Z">
    * Yes    * Yes
    * No    * No
Line 213: Line 215:
 ===== Implementation ===== ===== Implementation =====
  
-n/a+https://github.com/php/php-src/commit/f6a0bb4d0442d2780c61d32d01c117024eccab57
  
 ===== References ===== ===== References =====
Line 220: Line 222:
   * https://github.com/php/php-src/pull/16458   * https://github.com/php/php-src/pull/16458
   * [[rfc:new_in_initializers|RFC: New in initializers]]   * [[rfc:new_in_initializers|RFC: New in initializers]]
 +  * https://github.com/php/php-src/issues/12139
  
 ===== Rejected Features ===== ===== Rejected Features =====
  
 n/a n/a
rfc/closures_in_const_expr.1730796381.txt.gz · Last modified: 2024/11/05 08:46 by timwolla