Re: Proposal fo "Code-free constructors declaration"
| From: | Levi Morrison | Date: | Wed, 23 Jan 2019 15:43:34 +0000 |
| Subject: | Re: Proposal fo "Code-free constructors declaration" | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103803@lists.php.net to get a copy of this message | ||
On Wed, Jan 23, 2019 at 6:57 AM Bruce Weirdan <weirdan@gmail.com> wrote:
>
> On Wed, Jan 23, 2019 at 2:32 PM Andrey O Gromov <AGromov@alfabank.ru> wrote:
>
> > Proposed syntax
> > class A($prop) extends B("BlaBla", $prop) {
> > }
>
> Would this work with anonymous classes? If so, how would the syntax look like?
I have the same question. I don't think it would work with them, but I
could be wrong.