Home » Interview » Technology

Explain the ternary conditional operator in PHP?

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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion