get the app get the app       get the app       get the app
How is the ternary conditional operator used in PHP?


  • : 223
  • : 6
    Previous Next

    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;

    you can suggest other answer in comment box


  • Exam: PHP Interview QUESTIONS





    Close(X)
    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material