摘要: 1.(expr1) ? (expr2) : (expr3) 在 expr1 求值为 TRUE 时的值为 expr2,在 expr1 求值为 FALSE 时的值为 expr3。 $a = (expr1) ? (expr2) : (expr3); //等价于下面的代码 if (expr1) { $a = 阅读全文
posted @ 2020-07-06 15:22 whyly 阅读(1535) 评论(0) 推荐(1) 编辑