01 | | 02 | | 03 | | 04 | | 05 | | 06 | | 07 | | 08 | | 09 | | 10 | | 11 | | 12 | | 13 | | 14 | | 15 | | 16 | | 17 | | 18 | | 19 | | 20 | | 21 | | 22 | | 23 | | 24 | | 25 | | 26 | | 27 | | 28 | | 29 | | 30 | | 31 | | 32 | | 33 | | 34 | | 35 | | 36 | | 37 | | 38 | | 39 | | 40 | | 41 | | 42 | | 43 | | 44 | | 45 | | 46 | | 47 | | 48 | | 49 | | 50 | | 51 | | 52 | | 53 | | 54 | | 55 | | 56 | | 57 | | 58 | | 59 | | 60 | | 61 | | 62 | | 63 | | 64 | | 65 | | 66 | | 67 | | 68 | | 69 | | 70 | | 71 | | 72 | | 73 | | 74 | | 75 | | 76 | | 77 | | 78 | | 79 | | 80 | | 81 | | 82 | | 83 | | 84 | | 85 | | 86 | | 87 | | 88 | | 89 | | 90 | | 91 | | 92 | | 93 | | 94 | | 95 | | 96 | | 97 | | 98 | | 99 | | 100 | | 101 | | 102 | | 103 | | 104 | | 105 | | 106 | | 107 | | 108 | | 109 | | 110 | | 111 | | 112 | | 113 | | 114 | | 115 | | 116 | | 117 | | 118 | | 119 | | 120 | | 121 | | 122 | | 123 | | 124 | | 125 | | 126 | | 127 | | 128 | | 129 | | 130 | | 131 | | 132 | | 133 | | 134 | | 135 | | 136 | | 137 | | 138 | | 139 | | 140 | | 141 | | 142 | | 143 | | 144 | | 145 | | 146 | | 147 | | 148 | | 149 | | 150 | | 151 | | 152 | | 153 | | 154 | | 155 | | 156 | | 157 | | 158 | | 159 | | 160 | | 161 | | 162 | | 163 | | 164 | | 165 | | 166 | | 167 | | 168 | | 169 | | 170 | | 171 | | 172 | | 173 | | 174 | | 175 | | 176 | | 177 | | 178 | | 179 | | 180 | | 181 | | 182 | | 183 | | 184 | | 185 | | 186 | | 187 | | 188 | | 189 | | 190 | | 191 | | 192 | | 193 | | 194 | | 195 | | 196 | | 197 | | 198 | | 199 | | 200 | | 201 | | 202 | | 203 | | 204 | | 205 | | 206 | | 207 | | 208 | | 209 | | 210 | | 211 | | 212 | | 213 | | 214 | | 215 | | 216 | | 217 | | 218 | | 219 | | 220 | | 221 | | 222 | | 223 | | 224 | | 225 | | 226 | | 227 | | 228 | | 229 | | 230 | | 231 | | 232 | | 233 | | 234 | | 235 | | 236 | | 237 | | 238 | | 239 | | 240 | | 241 | | 242 | | 243 | | 244 | | 245 | | 246 | | 247 | |
|
<?php
| /*---------------------------------------------------------------*/
| /*
| Titre : Pays et capitales
|
| URL : https://phpsources.net/code_s.php?id=1006
| Date édition : 15 Fév 2019
| Date mise à jour : 07 Aout 2019
| Rapport de la maj:
| - refactoring du code en PHP 7
| - fonctionnement du code vérifié
| - correction du code
| - amélioration du code
| - modification de la description
| */
| /*---------------------------------------------------------------*/
|
| $pays = array(
| "Andorre-la-Vieille" => "Andorre",
| "Abou Dhabi" => "Emirats arabes unis",
| "Kaboul" => "Afghanistan",
| "Saint-John's" => "Antigua-et-Barbuda",
| "The Valley" => "Anguilla",
| "Tirana" => "Albanie",
| "Erevan" => "Arménie",
| "Willemstad" => "Antilles néerlandaises",
| "Luanda" => "Angola",
| "Buenos Aires" => "Argentine",
| "Pago Pago" => "Samoa Américaines",
| "Vienne" => "Autriche",
| "Canberra" => "Australie",
| "Oranjestad" => "Aruba",
| "Bakou" => "Azerbaà¯djan",
| "Sarajevo" => "Bosnie-Herzégovine",
| "Bridgetown" => "Barbade",
| "Dacca" => "Bangladesh",
| "Bruxelles" => "Belgique",
| "Sofia" => "Bulgarie",
| "Manama" => "Bahreà¯n",
| "Bujumbura" => "Burundi",
| "Porto Novo" => "Bénin",
| "Hamilton" => "Bermudes",
| "Bandar Seri Begawan" => "Brunei Darussalam",
| "La Paz" => "Bolivie",
| "Brasilia" => "Brésil",
| "Nassau" => "Bahamas",
| "Thimphou" => "Bhoutan",
| "Gaborone" => "Botswana",
| "Minsk" => "Biélorussie",
| "Belmopan" => "Belize",
| "Ottawa" => "Canada",
| "Bantam" => "Iles cocos",
| "Kinshasa" => "Congo",
| "Bangui" => "République Centrafricaine",
| "Brazzaville" => "Congo",
| "Berne" => "Suisse",
| "Yamoussoukro" => "Cà´te d'Ivoire",
| "Avarua" => "Iles Cook",
| "Santiago" => "Chili",
| "Yaoundé" => "Cameroun",
| "Pékin" => "Chine",
| "Santa Fe de Bogota" => "Colombie",
| "San José" => "Costa Rica",
| "Prague" => "Tchécoslovaquie",
| "La Havane" => "Cuba",
| "Praia" => "Cap-Vert",
| "Flying Fish Cove" => "Ile Christmas",
| "Nicosie" => "Chypre",
| "Prague" => "République Tchèque",
| "Berlin" => "Allemagne",
| "Djibouti" => "Djibouti",
| "Copenhague" => "Danemark",
| "Roseau" => "Dominique",
| "Saint-Domingue" => "République Dominicaine",
| "Alger" => "Algérie",
| "Quito" => "Equateur",
| "Tallin" => "Estonie",
| "Le Caire" => "Egypte",
| "El Aiun" => "Sahara occidental",
| "Asmara" => "Erythrée",
| "Madrid" => "Espagne",
| "Addis-Abeba" => "Ethiopie",
| "Helsinki" => "Finlande",
| "Suva" => "Fidji",
| "Stanley" => "Iles Falklands",
| "Palikir" => "Micronésie",
| "Torshavn" => "Ile Feroe",
| "Paris" => "France",
| "Libreville" => "Gabon",
| "Saint-Georges" => "Grenade",
| "Tbilissi" => "Géorgie",
| "Cayenne" => "Guyane Franà§aise",
| "Accra" => "Ghana",
| "Gibraltar" => "Gibraltar",
| "Nuuk" => "Groà «nland",
| "Banjul" => "Gambie",
| "Conakry" => "Guinée",
| "Basse-Terre" => "Guadeloupe",
| "Ath&eagrave;nes" => "Grèce",
| "Guatemala" => "Guatemala",
| "Agaà ±na" => "Guam",
| "Bissau" => "Guinée-Bissao",
| "Georgetown" => "Guyane",
| "Tegucigalpa" => "Honduras",
| "Zagreb" => "Croatie",
| "Port-au-Prince" => "Haà¯ti",
| "Budapest" => "Hongrie",
| "Jakarta" => "Indonésie",
| "Dublin" => "Irlande",
| "Tel-Aviv" => "Israà «l",
| "New Delhi" => "Inde",
| "Bagdad" => "Iraq",
| "Téhéran" => "Iran",
| "Reykjavik" => "Islande",
| "Rome" => "Italie",
| "Kingston" => "Jamaà¯que",
| "Amman" => "Jordanie",
| "Tokyo" => "Japon",
| "Nairobi" => "Kenya",
| "Bichkek" => "Kirghistan",
| "Ouagadougou" => "Burkina Faso",
| "Bairiki" => "Kiribati",
| "Moroni" => "République comorienne",
| "Basseterre" => "Saint-Christophe-et-Niévès",
| "Pyongyang" => "Corée du Nord",
| "Séoul" => "Corée du Sud",
| "Koweà¯t" => "Koweà¯t",
| "George Town" => "Iles Caà¯mans",
| "Astana" => "Kazakhstan",
| "Vientiane" => "Laos",
| "Beyrouth" => "Liban",
| "Castries" => "Sainte-Lucie",
| "Vaduz" => "Liechtenstein",
| "Colombo" => "Sri Lanka",
| "Monrovia" => "Libéria",
| "Maseru" => "Lesotho",
| "Vilnius" => "Lituanie",
| "Luxembourg" => "Luxembourg",
| "Riga" => "Lettonie",
| "Triploi" => "Libye",
| "Rabat" => "Maroc",
| "Monaco" => "Monaco",
| "Chisinau" => "Moldavie",
| "Antananarivo" => "Madagascar",
| "Dalap-Uliga-Darrit" => "Marshall",
| "Skopje" => "Macédoine",
| "Oulan-Bator" => "Mongolie",
| "Macao" => "Makau",
| "Garapan" => "Ile Mariana du nord",
| "Nouakchott" => "Mauritanie",
| "Plymouth" => "Monteserrat",
| "La Valette" => "Maurice",
| "Malé" => "Maldives",
| "Lilongwe" => "Malawi",
| "Mexico" => "Mexique West",
| "Kuala Lumpur" => "Malaisie",
| "Maputo" => "Mozambique",
| "Windhoek" => "Namibie",
| "Nouméa" => "Nouvelle-Calédonie",
| "Niamey" => "Niger",
| "Kingston" => "Ile de Norfolk",
| "Abuja" => "Nigeria",
| "Managua" => "Nicaragua",
| "Amsterdam" => "Pays-Bas",
| "Oslo" => "Norvège",
| "Katmandou" => "Népal",
| "Yaren" => "Nauru",
| "Alofi" => "Niue",
| "Wellington" => "Nouvelle-Zélande",
| "Mascate" => "Oman",
| "Panama" => "Panama",
| "Lima" => "Pérou",
| "Papeete" => "Polynésie Franà§aise",
| "Port Moresby" => "Papouasie - Nouvelle Guinée",
| "Manille" => "Philippines",
| "Islamabad" => "Pakistan",
| "Varsovie" => "Pologne",
| "Saint-Pierre" => "St. Pierre and Miquelon",
| "Adamstown" => "Pitcairn",
| "San Juan" => "Porto Rico",
| "aucune" => "Palestine",
| "Lisbonne" => "Portugal",
| "Koror" => "Palau",
| "Asomption" => "Paraguay",
| "Doha" => "Qatar",
| "Malabo" => "Guinée équatoriale",
| "Saint-Denis" => "Réunion",
| "Bucarest" => "Roumanie",
| "Kigali" => "Rwanda",
| "Riyad" => "Arabie saoudite",
| "Honiara" => "Iles Salomon",
| "Victoria" => "Seychelles",
| "Khartoum" => "Soudan",
| "Stockholm" => "Suède",
| "Singapour" => "Singapour",
| "Jamestown" => "Saint Hélène",
| "Ljubljana" => "Slovénie",
| "Bratislava" => "Slovaquie",
| "Freetown" => "Sierra Leone",
| "Saint-Marin" => "Saint-Marin",
| "Dakar" => "Sénégal",
| "Mogadiscio" => "Somalie",
| "Paramaribo" => "Suriname",
| "Sao Tomé" => "Sao Tomé-et-Principe",
| "Moscou" => "Union Soviétique",
| "San Salvador" => "Salvador",
| "Damas" => "Syrie",
| "Mbabane" => "Swaziland",
| "Cockburn Town" => "Turks et caicos",
| "Ndjamena" => "République du Tchad",
| "Lomé" => "Togo",
| "Bangkok" => "Thaà¯lande",
| "Grozny" => "Tchétchénie",
| "aucune" => "Iles Tokelau",
| "Achgabat" => "Turkménistan",
| "Tunis" => "Tunisie",
| "Nuku'alofa" => "Tonga",
| "Dili" => "Timor-oriental",
| "Ankara" => "Turquie",
| "Port d'Espagne" => "Trinité-et-Tobago",
| "Fongafale" => "Tuvalu",
| "Taipei" => "Taiwan",
| "Dodoma" => "Tanzanie",
| "Kiev" => "Ukraine",
| "Kampala" => "Ouganda",
| "Londres" => "Royaume-Uni",
| "Washington" => "Etats Unis d'Amérique",
| "Montevideo" => "Uruguay",
| "Tachkent" => "Ousbékistan",
| "Cité du Vatican" => "Vatican",
| "Kingstown" => "Saint-Vincent-et-les Grenadines",
| "Caracas" => "Vénézuela",
| "Charlotte Amalie" => "Iles vierges américaines",
| "Road Town" => "Iles vierges britanniques ",
| "Hanoi" => "Viêt-Nam",
| "Port-Vila" => "Vanuatu",
| "Mata-Utu" => "Wallis et Futuna",
| "Apia" => "Samoa occidentales",
| "Sanaa" => "Yémen",
| "Mamoudzou" => "Mayotte",
| "Belgrade" => "Yougoslavie",
| "Pretoria" => "Afrique du Sud",
| "Lusaka" => "Zambie",
| "Harare" => "Zimbabwe");
| ?>
|
| |
|