Hi Nikita

>> I'd like to introduce another RFC I've been working on:
>> https://wiki.php.net/rfc/nullsafe_operator
>
> The semantics look reasonable to me, but I'd recommend including some
> discussion on the rationale behind the short-circuiting behavior in the
> RFC. That is, what the options are, and why this is the best option (which
> is not the option that the previous RFC on this topic picked). It would
> also be nice to cross-reference semantics of ?-> in other languages that
> have it, to make sure we don't introduce any unexpected WTFs for people
> switching between languages. I think the specified behavior is consistent
> with what everyone else does, but I haven't checked to be sure.

Thanks for your feedback. I added a short analysis of the most popular
programming languages as well as a list of benefits and drawbacks of
short circuiting.

We might still go into detail on what the languages that do short
circuiting consider part of the chain. If it doesn't clutter the RFC
too much I will do that.

Ilija

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to