On 20/05/2021 23:58, David Gebler wrote:
I think this is very sensible, I can only really say I'd rather have Nikita's proposal land in 8.1 and PFAs in 9.0 done right than have PFAs in 8.1 but in a way which is confusing, ambiguous or problematic for users, or not covering reasonable expected use cases.
I wholeheartedly agree with this sentiment. I hope it doesn't take until 9.0, but if we get first-class callables in 8.1 and partial application in 8.2 those are BOTH huge new features.
And if by some miracle we come up with the perfect version of PFA a week after this RFC passes, that's ALSO great.
Everyone: please let's keep this thread for talking about first-class callables, and focus on the semantics not just the syntax - are there edge cases we need to consider, downsides to the proposed implementation, etc?
Regards, -- Rowan Tommins [IMSoP] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php