On Thu, 24 Oct 2019 at 18:21, Ken Stanley <doh...@gmail.com> wrote:
>
> Since PHP 7.0 brought forward the Null Coalescing Operator (??), writing
> more succinct code for how to handle null values has been a blessing. But,
> what about the inverse when you want to do something when a value is not
> null?

Hi Ken,

It may help to give a real world example, rather than a metasyntactic
one, as I can't immediately see how this would be useful.

People have been expressing a concern over 'symbol soup' for similar
ideas. The null colalesce scenario happens frequently enough, that it
seemed to overcome the hurdle needed for acceptance. Again, giving a
real world example of what you currently need to do frequently might
help other people understand the need.

cheers
Dan

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

Reply via email to