Hi
I have just went through the RFC again (the 2025/11/01 17:54 version).
On 11/1/25 18:54, Larry Garfield wrote:
4. Constant expressions
I assume that “nested” PFA will just work? A little more complex example
would be good, just to showcase what's possible. How about:
public const BASE = 10;
private \Closure $arrayToInt = \array_map(\intval(?, self::BASE),
?),
My understanding is that this should be valid.
Mine as well. I'll add that example, and if Arnaud corrects me we can deal
with it then. :-)
Small note: The example is missing the closing brace for the class.
Other than that, I have no further notes, am happy with the RFC and plan
to vote in favor.
Best regards
Tim Düsterhus