[PHP-DEV] [VOTE] Partial Function Application: Handling of Optional Parameters

Hi

I just opened the vote for "Partial Function Application: Handling of Optional Parameters":

The (discussion-less) discussion thread can be found at: php.internals: [RFC] Partial Function Application: Handling of Optional Parameters

There is one primary vote to cast. Voting closes 2026-05-20 10:30:00 UTC.

Best regards
Tim Düsterhus

Hi Tim

Den ons. 6. maj 2026 kl. 13.02 skrev Tim Düsterhus <tim@bastelstu.be>:

Hi

I just opened the vote for "Partial Function Application: Handling of
Optional Parameters":

PHP: rfc:partial_function_application_optional_placeholder

I don't see any links to the patch and a lot of the RFC is just
placeholder text, is there one? If so could it be attached to the RFC

--
regards,

Kalle Sommer Nielsen
kalle@php.net

Hi

Am 2026-05-06 14:44, schrieb Kalle Sommer Nielsen:

I don't see any links to the patch and a lot of the RFC is just
placeholder text, is there one? If so could it be attached to the RFC

The RFC is a follow-up to an unmerged RFC, thus there is no dedicated implementation for this RFC. It will happen as part of the PFA implementation, which is here: https://github.com/php/php-src/pull/20848. As far as I can tell the changes required for this follow-up are “delete some of the code” (i.e. the implementation should add fewer lines than originally proposed).

Best regards
Tim Düsterhus