How is the ternary conditional operator used in PHP?
- Smrutirekha Pathak
- Query: 9 / Answer: 10
- Subhadra Jena
- Query: 16 / Answer: 13
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;
-
- Information
-
About Forum
This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.
-
Statistics
Total topics 43 • Total Query 1114 • Total members 247 • Total Answered 1285