Re: RFC: Anonymous Classes
| From: | Patrick Schaaf | 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 internals+get-69345@lists.php.net to get a copy of this message | ||
Am 26.09.2013 11:29 schrieb "Nicolas Grekas" <nicolas.grekas+php@gmail.com>:
> 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
};