rfc:switch_expression

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:switch_expression [2020/03/28 12:30] – Change email address ilijatovilorfc:switch_expression [2020/03/28 15:25] – Delete extra opening parenthesis guilliamxavier
Line 218: Line 218:
 $y = $x === 1 ? ... $y = $x === 1 ? ...
   : ($x === 2 ? ...   : ($x === 2 ? ...
-  : (($x === 3 ? ...+  : ($x === 3 ? ...
   : 0));   : 0));
 </code> </code>
rfc/switch_expression.txt · Last modified: 2020/04/12 00:04 by ilijatovilo