Hi
Am 2025-06-28 07:06, schrieb Larry Garfield:
https://wiki.php.net/rfc/partial_function_application_v2
Some 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