Re: [RFC] Partial Function Application v2
From: Tim Düsterhus Date: Sat, 01 Nov 2025 22:26:22 +0000 Subject: Re: [RFC] Partial Function Application v2 References: 1 2 3 4 5 Groups: php.internals Request: Send a blank email to internals+get-129048@lists.php.net to get a copy of this message
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: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üsterhus4. 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:Mine as well. I'll add that example, and if Arnaud corrects me we can deal with it then. :-)public const BASE = 10;private \Closure $arrayToInt = \array_map(\intval(?, self::BASE),?), My understanding is that this should be valid.
Thread (54 messages)
| « previous | php.internals (#129048) | next » |
|---|