in PHP by
Q:
How is the ternary conditional operator used in PHP?

▼ Show 1 Answer

0 votes
by
It is composed of three expressions: a condition, and two operands describing what instruction should be performed when the specified condition is true or false as follows:

Expression_1?Expression_2 : Expression_3;
Learn More with Madanswer

Related questions

0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
...