Fake Closure Comparison
| From: | Joe Watkins | Date: | Fri, 09 Jul 2021 08:45:11 +0000 |
| Subject: | Fake Closure Comparison | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-115375@lists.php.net to get a copy of this message | ||
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