?? $b = $a ?? $c ; //相當(dāng)于 $b= isset($a) ? $a : $c; ?: $b = $a ?: $c //則是相當(dāng)于 $b = !empty($a) ? $a : $c;