Re: RFC: Support Closures in constant expressions

From: Date: Tue, 29 Oct 2024 20:12:29 +0000
Subject: Re: RFC: Support Closures in constant expressions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-125873@lists.php.net to get a copy of this message
On Tuesday, 29 October 2024 at 18:14, Tim Düsterhus <tim@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 > Hi, Tim! Looking forward to this feature! Good luck with the RFC. Will the first class callable syntax be supported? ``` #[Serialize\Custom(strtoupper(...))] ``` -- Valentin

« previous php.internals (#125873) next »