On Tuesday, 29 October 2024 at 15:11, Tim Düsterhus <t...@bastelstu.be> wrote:
> Hi > > Volker and I would like to start discussion on our RFC to "Support > Closures in constant expressions". > > Please find the following resources for your reference: > > - RFC: https://wiki.php.net/rfc/closures_in_const_expr > - Implementation: https://github.com/php/php-src/pull/16458 > > Best regards > Tim Düsterhus I very much like this feature, a bit sad that it doesn't support First Class Callable syntax, but I understand the increased complexity this would add. Especially as supporting it would remove the last good reason to keep the callable type, which is to define a list of callables statically. Best regards, Gina P. Banyard