ビット演算子やら使うのがプロっぽいけどまあ簡単な方法としては

条件1 $matched_count+=1;
条件2 $matched_count+=10;
条件3 $matched_count+=100;

switch ($matched_count)
 case 1: 処理B; break;
 case 10: 処理C; break;
 case 100: 処理D; break;
 case (substr_count((string)$matched_count, '1') > 1): 処理A; break;