Re: [RFC]
| From: | Manuel Canga | Date: | Tue, 11 Feb 2020 12:57:04 +0000 |
| Subject: | Re: [RFC] | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108474@lists.php.net to get a copy of this message | ||
Ups!. What big mistake!
Then ::function should be a better option.
Thanks, Guilliam,
On Tue, 11 Feb 2020 at 13:47, Guilliam Xavier <guilliam.xavier@gmail.com> wrote:
>
> Hi,
>
> On Tue, Feb 11, 2020 at 1:09 PM Manuel Canga <manuelcanga@gmail.com> wrote:
> >
> > I was thinking about 'function' or 'func'. 'function' is
> > more
> > semantic, but 'func' is used with "short functions"( PHP 7.4 ) and
> > these will be used for callbacks. Then I think 'func' will be more
> > consistent.
>
> Actually PHP 7.4's short closures / array functions use
>
fn, not func.
> But ::fn would look... weird.
> I agree with Diogo that ::function would be more consistent.
>
> --
> Guilliam Xavier