Re: RFC: Support Closures in constant expressions

From: Date: Mon, 04 Nov 2024 11:58:38 +0000
Subject: Re: RFC: Support Closures in constant expressions
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-125900@lists.php.net to get a copy of this message
Hi Am 2024-10-30 10:58, schrieb Michał Marcin Brzuchalski:
Personally, I'd expect short-closures be available as well, did you though about maybe reusing const token instead of static to make the information visually available for users?
We do not believe the cost-benefit ratio is worth it to introduce new syntax and an entirely new language concept. Best regards Tim Düsterhus

« previous php.internals (#125900) next »