Re: Re: [VOTE] nullsafe operator RFC
| From: | Nikita Popov | Date: | Sat, 08 Aug 2020 20:10:13 +0000 |
| Subject: | Re: Re: [VOTE] nullsafe operator RFC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111379@lists.php.net to get a copy of this message | ||
On Fri, Jul 31, 2020 at 10:59 AM Ilija Tovilo <tovilo.ilija@gmail.com>
wrote:
> Hi internals
>
> > I started the vote on the nullsafe operator RFC.
> > https://wiki.php.net/rfc/nullsafe_operator
>
> I'm happy to announce that the RFC was accepted with 56 votes in favor
> and 2 votes against. Thanks to everybody who participated!
>
> Ilija
>
I just noticed that while we support "$a->b", we do not support "$a?->b"
(the quotes are relevant -- I'm talking about interpolated strings here).
That is, in the latter case the "?->b" is just treated like a string part,
not like a property access.
I don't think the behavior for this case has been discussed and I'm not
sure what the intended behavior here is.
Nikita