> 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?

The ?: operator IS the ternary operator.

> 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.

Of course the manual has an index...
http://www.php.net/manual/en/

> 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's an operator, so start here:
http://www.php.net/manual/en/language.operators.php

It's used for comparing, so click "comparison":
http://www.php.net/manual/en/language.operators.comparison.php

Aidan 

Reply via email to