已采纳回答 / qq_且行且努力_0
switch 匹配 case 后面的条件 $a=0在switch中判断匹配,就相当于 case 1:一等奖;case 0 :二等奖;case 0,三等奖;因为$a=0,所以匹配 二等奖
2016-06-29