array ("host" => "127.0.0.1", "port" => 6900)); $servers = (ping ($ping["map"]) ? 'Serveur en line' : 'Serveur hors ligne'); echo $servers; ?>