From what I understood, "ternary operator" is the name of the class
of operators, it is not the name of the specific ?: operator. Does ?: even have a name?

I knew that I was looking for an operator, which narrowed my search down a bit. However, other users may have more problems. Does the PHP manual have an index? I saw the token index (http://www.php.net/manual/en/tokens.php), but the ?: operator is not in there. Even if it were, I doubt many people would look there.

The reason why it is important IMHO that the ?: operator can be found in the manual is because people come across it in source code (I saw it in the menu code of the Mambo CMS) and will want to know what it does.

It looks like on operator, right? So then those programmers can look into the operators section, where they will be able to find it.


Goba

Reply via email to