David Kolář wrote on 9/4/21 17:19:
> Back to the suggestion - I suggest creating a new IFNULL operator, which
> will simply test if
> expression is null. If not, it returns left-hand part, if yes, it
> returns right-hand part.

This is already what the `??` operator does. For example:
https://3v4l.org/RlDjK

Are you suggesting that it should emit a warning if `$var` is undefined,
as it does in this case? https://3v4l.org/aZAj0

Cheers,
Ben

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to