Re: Re: [RFC][Discuss] Arrow Functions
| From: | Michael Morris | Date: | Fri, 03 Feb 2017 22:26:19 +0000 |
| Subject: | Re: Re: [RFC][Discuss] Arrow Functions | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98149@lists.php.net to get a copy of this message | ||
On Fri, Feb 3, 2017 at 3:37 PM, Niklas Keller <me@kelunik.com> wrote:
>
>
> There are more drawbacks to that syntax like no parameters looking pretty
> weird: || =>
>
>
I can't think of a valid example of an arrow function without any arguments
at all. These functions are very simple iterators to plug into things like
array_map. If you can think of one please post it.