Answer Posted / Satpal Singh Rawat
The ternary conditional operator is a shorthand if-else statement in PHP. It consists of three operands separated by question marks (?) and colons (:). The syntax is as follows: `condition ? expression_if_true : expression_if_false`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers