Re: RFC: Anonymous Classes

From: Date: Thu, 26 Sep 2013 10:02:02 +0000
Subject: Re: RFC: Anonymous Classes
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Am 26.09.2013 11:29 schrieb "Nicolas Grekas" <[email protected]>:
> Btw, I can't get used to ($val) beeing at the end of the declaration. I
> feel it very confusing.

I feel the same. Couldn't this (constructor arguments) be moved?

$that = new class(/* constructor args */) /* extends X implements Y */ {
... class body
};


Thread (55 messages)

« previous php.internals (#69345) next »