Re: Re: [RFC][Discuss] Arrow Functions
| From: | Levi Morrison | Date: | Fri, 03 Feb 2017 18:52:54 +0000 |
| Subject: | Re: Re: [RFC][Discuss] Arrow Functions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98140@lists.php.net to get a copy of this message | ||
On Fri, Feb 3, 2017 at 11:46 AM, David Rodrigues <david.proweb@gmail.com> wrote:
> Or even, I too don't know why just ($x) => is an issue. There some possible
> conflict why that?
Yes, this conflicts with existing syntax. The following code snippets
are valid today:
[($x) => $x + $y]
yield ($x) => $x + $y
There are other issues as well; this is just the easiest to point out.