三元运算符 表达式1 ? 表达式2 : 表达式3 还有点没明白,求解释?
看透不说透
看透不说透 2016-12-20 11:50:49
0
2
1291
看透不说透
看透不说透

reply all(2)
数据分析师

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.

迷茫

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template