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