Re: Re: [VOTE] Attributes v2 RFC Vote is open
| From: | Marco Pivetta | Date: | Mon, 20 Apr 2020 21:35:30 +0000 |
| Subject: | Re: Re: [VOTE] Attributes v2 RFC Vote is open | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109732@lists.php.net to get a copy of this message | ||
Hey Andrea,
On Mon, Apr 20, 2020, 23:25 Andrea Faulds <ajf@ajf.me> wrote:
> Hi,
>
> Benjamin Eberlei wrote:
> > Hello,
> >
> > I have opened the vote on the Attributes v2 RFC. The voting will be open
> > until two weeks from now, May 4th 2020, noon UTC.
> >
> > RFC: https://wiki.php.net/rfc/attributes_v2
> >
> > Thank you everyone for taking part in the detailed discussion.
> >
> > greetings
> > Benjamin
> >
>
> Thanks for putting this to a vote. I remember I had some comments about
> autoloading behaviour and you changed the behaviour in the RFC, but I
> didn't get around to reading it again. I am concerned though that it
> doesn't seem to say anymore when autoloading happens, if at all? Can
> that be clarified?
>
> Thanks,
> Andrea
>
From my review of the tests, autoloading occurs when an object is being
requested (via
newInstance() call on a reflection attribute).
Until then, the same semantics as the ::class pseudo-constant apply.
>