1.

Explain The Ternary Conditional Operator In Php?

Answer»

Expression PRECEDING the ? is evaluated, if it’s TRUE, then the expression preceding the : is EXECUTED, OTHERWISE, the expression following : is executed.

Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.



Discussion

No Comment Found