Re: [RFC] Partial Function Application v2
| From: | Tim Düsterhus | Date: | Mon, 30 Jun 2025 07:28:52 +0000 |
| Subject: | Re: [RFC] Partial Function Application v2 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127793@lists.php.net to get a copy of this message | ||
Hi
Am 2025-06-28 07:06, schrieb Larry Garfield:
https://wiki.php.net/rfc/partial_function_application_v2Some thoughts, I did not yet take an in-depth look: - Will PFA be available in constant-expressions, following the “First Class Callables in constant expressions” RFC (https://wiki.php.net/rfc/fcc_in_const_expr)? - It would be good to include an example section not using a regular “free-standing” function in the RFC. The RFC already mentions that all callables are supported, but explicitly showing an example for the possible alternative syntaxes (including
$foo->bar(?) and $foo(?) would be useful.
- Starting with the “RFC Impact” section, several sections of the template are not filled in.
Best regards
Tim Düsterhus