PHP-manual
Föregående
Nästa
Kapitel
10
.
Expressions
If the value of the first subexpression is
TRUE
(non-zero), then the second subexpression is evaluated, and that is the result of the conditional expression. Otherwise, the third subexpression is evaluated, and that is the value.
Föregående
Hem
Nästa
Upp