$r['suggested']==='1'))!==15)throw new RuntimeException('Participants incorrects'); if(count(array_filter($f['entries'],fn($r)=>$r['starter']))!==11)throw new RuntimeException('Titulaires incorrects'); $byPerson=array_column($f['entries'],null,'person_number'); if($byPerson['2543123335']['suggested']!=='0')throw new RuntimeException('Remplaçant non entré incorrectement compté'); echo "FMI exemple : 16 inscrits, 11 titulaires, 4 entrées, 1 non-participant.\n";