Re: [PHP-DEV] [RFC] [Discussion] Serializable closures from constant expressions

[email protected] (Tim Düsterhus) Wed, 08 Jul 2026 21:53:27 +0200
Newsgroups php.internals
Message-ID <[email protected]>
Hi

On 2026-07-07 13:52, Nicolas Grekas wrote:
> Opening a vote without hearing that some consensus exists before is a
> recipe for failure, so I'd rather send these reminders before opening 
> one.
> I get the topic is not as hype as generics or other syntax 
> improvements,
> but incremental improvements driven by userland needs is still how we 
> built
> a relevant engine ;)

Despite my concerns regarding the proposal as-written, I can only agree 
with this specific message. I find this kind of boring building block 
functionality that you wouldn’t notice because it “just works” to be 
much more impactful than some of the fancy headline features that make 
rounds on social media. But the “just works” is a constraint, as with 
any other RFC we need to get it *right* due to backwards compatibility 
considerations. And of course it shouldn't just work for one situation, 
but be reasonably generically applicable. This is really not something 
that should be discussed between just Nicolas and me :-)

Best regards
Tim Düsterhus