Le 09/07/2021 à 10:45, Joe Watkins a écrit :
Morning internals,

While discussing some of the details of the first class callable RFC, it
became apparent that fake closures (created by Closure::fromCallable) are
not currently comparable in a useful way.

Although this is not directly related to the first class callable feature,
it's likely that the proliferation of this kind of code will follow, so now
seems like a good time to fix the problem.

https://github.com/php/php-src/pull/7223

Any objections to merging that in master ?

Cheers
Joe

I don't see where I would actually compare callables, and I'm not an engine maintainer, but from my point of view, this patch makes sense.

Regards,

--

Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to