Re: [RFC]Discuss] Syntax for Arrow Functions
| From: | Dan Ackroyd | Date: | Sun, 18 Jun 2017 19:49:41 +0000 |
| Subject: | Re: [RFC]Discuss] Syntax for Arrow Functions | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99543@lists.php.net to get a copy of this message | ||
On 18 June 2017 at 19:48, Rasmus Schultz <rasmus@mindplay.dk> wrote:
>
> I was referring to the visual ambiguity - the fn($x) part of the syntax is
> indistinguishable from a function-call.
Only to the same extent that if($x) {} is indistinguishable from a
function call.
Most people don't have a problem with this.
cheers
Dan