Search the Community
Showing results for tags 'null-coalescing operator'.
Hello developer community, before I open a feature request, I wanted to ask for the general opinion on this topic. I like to use the Null-Coalescing operator (??) in my PHP scripts and miss him in Autoit. In addition to the ternary operator (? :), this operator is part of the group of Conditional Assignment Operators. $x = expr1 ?? expr2 The value of $x is expr1 if expr1 exists, and is not NULL. If expr1 does not exist, or is NULL, the value of $x is expr2. With this operator you can, for example, easily assign default values. Do we want the Null-Coalescing Operator in Au