Hi Levi, On Tue, Jan 31, 2017 at 8:38 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> On Tue, Jan 31, 2017 at 2:55 AM, Levi Morrison <le...@php.net> wrote: > >> This RFC proposes syntax and semantics to simplify this common usage to: >> >> fn($x) => $arr[$x] >> > > Could you explain why fn() cannot be removed like ES2015. I guess current PHP parser has to determine token type as they processed. So distinguished keyword is needed. I don't have problem with the proposed syntax. Large change is not preferred and current way should be faster. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net