Re: [RFC] Short syntax for anonymous functions

From: Date: Wed, 20 Feb 2013 10:15:48 +0000
Subject: Re: [RFC] Short syntax for anonymous functions
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Tue, 19 Feb 2013, Levi Morrison wrote:

> > Have you considered how this will work/look in an array?
> >
> > $a = [$b => ($n) $m => $m * $n]; // wat.
> 
> First off, it should be:
> 
>     $a = [$b => ($n) |$m| => $m * $n];
> 
> The || make a big difference in this situation.

It still looks like some random characters bashed together by a monkey 
with a keyboard.

cheers,
Derick


Thread (65 messages)

« previous php.internals (#66044) next »