switch(true){
case isset($param) && strcmp($param,'a') == 0:break;

まさかこうしたんだろうか…