RFC: First Class Callables in constant expressions
| From: | Tim Düsterhus | Date: | Wed, 22 Jan 2025 14:35:50 +0000 |
| Subject: | RFC: First Class Callables in constant expressions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-126217@lists.php.net to get a copy of this message | ||
Hi
Volker and I would like to start discussion on our RFC to support "First Class Callables in constant expressions".
Please find the following resources for your reference:
- RFC: https://wiki.php.net/rfc/fcc_in_const_expr
- Implementation: https://github.com/php/php-src/pull/17213
- The related "Support Closures in constant expressions" RFC: https://wiki.php.net/rfc/closures_in_const_expr
- The "Support Closures in constant expressions" discussion: https://externals.io/message/125872
Best regards
Tim Düsterhus