Re: [PHP-DEV] Fake Closure Comparison

2021-07-12 Thread Patrick ALLAERT
Le lun. 12 juil. 2021 à 11:42, Patrick ALLAERT a écrit : > Le lun. 12 juil. 2021 à 09:51, Nikita Popov a > écrit : > >> I'm also not sure where this would be actually useful (though I'm okay >> with including it, as the functionality itself seems sensible). As Patrick >> Allaert suggested this,

Re: [PHP-DEV] Fake Closure Comparison

2021-07-12 Thread Patrick ALLAERT
Le lun. 12 juil. 2021 à 09:51, Nikita Popov a écrit : > I'm also not sure where this would be actually useful (though I'm okay > with including it, as the functionality itself seems sensible). As Patrick > Allaert suggested this, maybe he can comment on some use cases. > I can't really see a use

Re: [PHP-DEV] Fake Closure Comparison

2021-07-12 Thread Nikita Popov
On Fri, Jul 9, 2021 at 12:08 PM Pierre wrote: > 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 comp

Re: [PHP-DEV] Fake Closure Comparison

2021-07-09 Thread Larry Garfield
On Fri, Jul 9, 2021, at 4:51 AM, Nikita Popov wrote: > On Fri, Jul 9, 2021 at 10:45 AM Joe Watkins wrote: > > > 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

Re: [PHP-DEV] Fake Closure Comparison

2021-07-09 Thread Pierre
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 t

Re: [PHP-DEV] Fake Closure Comparison

2021-07-09 Thread Nikita Popov
On Fri, Jul 9, 2021 at 10:45 AM Joe Watkins wrote: > 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 dir

[PHP-DEV] Fake Closure Comparison

2021-07-09 Thread Joe Watkins
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 th