note 74399 deleted from language.operators.comparison by crell
| From: | crell@php.net | Date: | Wed, 30 Mar 2022 21:49:37 +0000 |
| Subject: | note 74399 deleted from language.operators.comparison by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217794@lists.php.net to get a copy of this message | ||
Note Submitter: Hayley Watson
----
Note that the "ternary operator" is better described as the "conditional
operator". The former name merely notes that it has three arguments without saying anything
about what it does. Needless to say, if PHP picked up any more ternary operators, this will be a
problem.
"Conditional Operator" is actually descriptive of the semantics, and is the name
historically given to it in, e.g., C.