Home  >  Q&A  >  body text

三元运算符 表达式1 ? 表达式2 : 表达式3 还有点没明白,求解释?

看透不说透看透不说透2862 days ago1266

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:05:09

    Ternary operator expression 1? Expression 2: Expression 3 I still don’t understand. Could you please explain? -PHP Chinese website Q&A-Ternary operator expression 1? Expression 2: Expression 3 I still don’t understand. Could you please explain? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 迷茫

    迷茫2016-12-20 11:51:17

    表达式1成立,则输出的结果是表达式2,否则的话是表达式3;

    reply
    0
  • Cancelreply