php7中??和?:的区别

$a=$c??$b;

等同于 $a=isset($c)?$c:$b;

$a=$c?:$b;

等同于 $a=$c?$c:$b;

原文地址:https://www.cnblogs.com/wntd/p/13563953.html