($n) => { echo $n; }
($n) use ($m) => { echo $n; }
On Tue, Feb 19, 2013 at 8:11 PM, Levi Morrison wrote:
> > IF (and I stress if) we add a a shorter anonymous function syntax I'd
> > like it to be geared towards one-liners because that's where the
> > current syntax feels really verbose, especial
>
> echo "foobar"["foo"][0];
"foobar"["foo"] - Why not "undefined index"?
On Tue, Dec 13, 2011 at 10:20 AM, Nikita Popov wrote:
> This can't go into PHP 5.4.0 in any case, because it is a feature
> addition and the release is already in RC.
>
> Nikita
>
> On Tue, Dec 13, 2011 at 7:16 AM, Laruen
Why not possible?
$result = ($model = new DomainModel('foo', 'bar'))->findByName('John');
On Wed, Nov 30, 2011 at 5:55 AM, Rasmus Lerdorf wrote:
> On 11/29/2011 05:22 PM, de...@lucato.it wrote:
> > Hi Rasmus,
> >
> > I already tested a similar example (see
> > http://codepad.viper-7.com/tNkTTX