Re: [PHP-DEV] [VOTE] Support Closures in constant expressions

2024-11-27 Thread Juliette Reinders Folmer
On 27-11-2024 22:58, Tim Düsterhus wrote: Hi On 11/27/24 22:50, Juliette Reinders Folmer wrote: One thing I'm wondering about - and of which I saw no mention in the RFC nor in the preceding discussion - knowing that function names are case-insensitive, how is ambiguity handled when _calling_ a

Re: [PHP-DEV] [VOTE] Support Closures in constant expressions

2024-11-27 Thread Tim Düsterhus
Hi On 11/27/24 22:50, Juliette Reinders Folmer wrote: One thing I'm wondering about - and of which I saw no mention in the RFC nor in the preceding discussion - knowing that function names are case-insensitive, how is ambiguity handled when _calling_ a callback stored in a (class) constant ? N

Re: [PHP-DEV] [VOTE] Support Closures in constant expressions

2024-11-27 Thread Juliette Reinders Folmer
On 27-11-2024 15:03, Tim Düsterhus wrote: Hi Am 2024-11-13 14:40, schrieb Tim Düsterhus: we just started the vote the the "Support Closures in constant expressions" RFC. Please find the following resources for your reference: RFC: https://wiki.php.net/rfc/closures_in_const_expr Implementatio

Re: [PHP-DEV] [VOTE] Support Closures in constant expressions

2024-11-27 Thread Tim Düsterhus
Hi Am 2024-11-13 14:40, schrieb Tim Düsterhus: we just started the vote the the "Support Closures in constant expressions" RFC. 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/1645