Re: [PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-08-08 Thread tyson andre
Hi Ilija Tovilo, > > 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. > > Just as I s

Re: [PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-08-08 Thread Sara Golemon
On Sat, Aug 8, 2020 at 3:42 PM Ilija Tovilo wrote: > > > 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 p

Re: [PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-08-08 Thread Ilija Tovilo
Hi again > > 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 thin

Re: [PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-08-08 Thread Ilija Tovilo
Hi Nikita >> > I started the vote on the nullsafe operator RFC. >> > https://wiki.php.net/rfc/nullsafe_operator > > 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 t

Re: [PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-08-08 Thread Nikita Popov
On Fri, Jul 31, 2020 at 10:59 AM Ilija Tovilo 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 parti

[PHP-DEV] Re: [VOTE] nullsafe operator RFC

2020-07-31 Thread Ilija Tovilo
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 -- PHP Internals - PHP Runtime Development Mailin