🌈 搜索
📅  最后修改于: 2022-03-11 14:59:15.304000             🧑  作者: Mango
$foo = 1; $bar = ($foo == 1) ? "1" : (($foo == 2) ? "2" : "other"); echo $bar;