当前位置:网站首页>The JSON format of the international area code of the mobile phone number is obtained with PHP

The JSON format of the international area code of the mobile phone number is obtained with PHP

2022-07-07 03:59:00 Pointer loves me again

{
    
    "list": [{
    
            "city": " The Chinese mainland ",
            "code": "+86"
        },
        {
    
            "city": " Hong Kong, China, ",
            "code": "+852"
        },
        {
    
            "city": " Macao China ",
            "code": "+853"
        },
        {
    
            "city": " Taiwan, China ",
            "code": "+886"
        },
        {
    
            "city": " Singapore ",
            "code": "+65"
        },
        {
    
            "city": " Afghanistan ",
            "code": "+93"
        },
        {
    
            "city": " Albania ",
            "code": "+355"
        },
        {
    
            "city": " Agra ",
            "code": "+213"
        },
        {
    
            "city": " Andorra ",
            "code": "+376"
        },
        {
    
            "city": " Angola ",
            "code": "+244"
        },
        {
    
            "city": " Anguilla ",
            "code": "+1264"
        },
        {
    
            "city": " Ascension Island ",
            "code": "+247"
        },
        {
    
            "city": " Antigua and Barbuda ",
            "code": "+1268"
        },
        {
    
            "city": " Argentina ",
            "code": "+54"
        },
        {
    
            "city": " Armenia ",
            "code": "+374"
        },
        {
    
            "city": " Aruba ",
            "code": "+297"
        },
        {
    
            "city": " Australia ",
            "code": "+61"
        },
        {
    
            "city": " Austria ",
            "code": "+43"
        },
        {
    
            "city": " azerbaijan ",
            "code": "+994"
        },
        {
    
            "city": " The Bahamas ",
            "code": "+1242"
        },
        {
    
            "city": " Bahrain ",
            "code": "+973"
        },
        {
    
            "city": " Bangladesh ",
            "code": "+880"
        },
        {
    
            "city": " Barbados ",
            "code": "+1246"
        },
        {
    
            "city": " belarus ",
            "code": "+375"
        },
        {
    
            "city": " Belgium ",
            "code": "+32"
        },
        {
    
            "city": " Belize ",
            "code": "+501"
        },
        {
    
            "city": " Benin ",
            "code": "+229"
        },
        {
    
            "city": " Bermuda ",
            "code": "+1441"
        },
        {
    
            "city": " Bhutan ",
            "code": "+975"
        },
        {
    
            "city": " Bolivia ",
            "code": "+591"
        },
        {
    
            "city": " Bosnia and Herzegovina ",
            "code": "+387"
        },
        {
    
            "city": " Botswana ",
            "code": "+267"
        },
        {
    
            "city": " Brazil ",
            "code": "+55"
        },
        {
    
            "city": " brunei ",
            "code": "+673"
        },
        {
    
            "city": " Bulgaria ",
            "code": "+359"
        },
        {
    
            "city": " Burkina Faso ",
            "code": "+226"
        },
        {
    
            "city": " burundi ",
            "code": "+257"
        },
        {
    
            "city": " In Cambodia, ",
            "code": "+855"
        },
        {
    
            "city": " Cameroon ",
            "code": "+237"
        },
        {
    
            "city": " Canada ",
            "code": "+1"
        },
        {
    
            "city": " Cape Verde ",
            "code": "+238"
        },
        {
    
            "city": " The Cayman Islands ",
            "code": "+1345"
        },
        {
    
            "city": " Central African Republic ",
            "code": "+236"
        },
        {
    
            "city": " Chad ",
            "code": "+235"
        },
        {
    
            "city": " Chile ",
            "code": "+56"
        },
        {
    
            "city": " Colombia ",
            "code": "+57"
        },
        {
    
            "city": " Comoros ",
            "code": "+269"
        },
        {
    
            "city": " Republic of Congo ",
            "code": "+242"
        },
        {
    
            "city": " Democratic Republic of the Congo ",
            "code": "+243"
        },
        {
    
            "city": " Cook Islands ",
            "code": "+682"
        },
        {
    
            "city": " Costa Rica ",
            "code": "+506"
        },
        {
    
            "city": " Kurt Divo ",
            "code": "+225"
        },
        {
    
            "city": " Croatia ",
            "code": "+385"
        },
        {
    
            "city": " Cuba ",
            "code": "+53"
        },
        {
    
            "city": " Cyprus ",
            "code": "+357"
        },
        {
    
            "city": "+ Czech Republic ",
            "code": "+420"
        },
        {
    
            "city": " The Danish ",
            "code": "+45"
        },
        {
    
            "city": " Djibouti ",
            "code": "+253"
        },
        {
    
            "city": " Dominica ",
            "code": "+1767"
        },
        {
    
            "city": " dominican republic ",
            "code": "+1809"
        },
        {
    
            "city": " Ecuador ",
            "code": "+593"
        },
        {
    
            "city": " Egypt ",
            "code": "+20"
        },
        {
    
            "city": " El Salvador ",
            "code": "+503"
        },
        {
    
            "city": " Estonia ",
            "code": "+372"
        },
        {
    
            "city": " Ethiopia ",
            "code": "+251"
        },
        {
    
            "city": " Faroe Islands ",
            "code": "+298"
        },
        {
    
            "city": " Fiji ",
            "code": "+679"
        },
        {
    
            "city": " Finland ",
            "code": "+358"
        },
        {
    
            "city": " The French ",
            "code": "+33"
        },
        {
    
            "city": " French Guiana ",
            "code": "+594"
        },
        {
    
            "city": " French Polynesia ",
            "code": "+689"
        },
        {
    
            "city": " Gabon ",
            "code": "+241"
        },
        {
    
            "city": " Gambia ",
            "code": "+220"
        },
        {
    
            "city": " Georgia ",
            "code": "+995"
        },
        {
    
            "city": " Germany ",
            "code": "+94"
        },
        {
    
            "city": " Ghana ",
            "code": "+233"
        },
        {
    
            "city": " Gibraltar ",
            "code": "+350"
        },
        {
    
            "city": " The Greek ",
            "code": "+30"
        },
        {
    
            "city": " Greenland ",
            "code": "+299"
        },
        {
    
            "city": " Grenada ",
            "code": "+1473"
        },
        {
    
            "city": " Guadeloupe ",
            "code": "+590"
        },
        {
    
            "city": " Guam ",
            "code": "+1671"
        },
        {
    
            "city": " Guatemala ",
            "code": "+502"
        },
        {
    
            "city": " Guinea ",
            "code": "+240"
        },
        {
    
            "city": " Gency ",
            "code": "+44"
        },
        {
    
            "city": " Guinea ",
            "code": "+224"
        },
        {
    
            "city": " Guyana ",
            "code": "+592"
        },
        {
    
            "city": " Haiti ",
            "code": "+509"
        },
        {
    
            "city": " Honduras ",
            "code": "+504"
        },
        {
    
            "city": " Myanmar ",
            "code": "+95"
        },
        {
    
            "city": " In Hungary, ",
            "code": "+36"
        },
        {
    
            "city": " Iceland ",
            "code": "+354"
        },
        {
    
            "city": " India ",
            "code": "+91"
        },
        {
    
            "city": " Indonesia ",
            "code": "+62"
        },
        {
    
            "city": " Iran ",
            "code": "+98"
        },
        {
    
            "city": " Iraq ",
            "code": "+964"
        },
        {
    
            "city": " The Irish ",
            "code": "+353"
        },
        {
    
            "city": " Isle of man ",
            "code": "+44"
        },
        {
    
            "city": " Israel ",
            "code": "+972"
        },
        {
    
            "city": " Italy ",
            "code": "+93"
        },
        {
    
            "city": " Jamaica ",
            "code": "+1876"
        },
        {
    
            "city": " Japan ",
            "code": "+81"
        },
        {
    
            "city": " Jersey ",
            "code": "+44"
        },
        {
    
            "city": " Jordan ",
            "code": "+962"
        },
        {
    
            "city": " kazakhstan ",
            "code": "+7"
        },
        {
    
            "city": " Kenya ",
            "code": "+254"
        },
        {
    
            "city": " Kosovo ",
            "code": "+383"
        },
        {
    
            "city": " Kuwait ",
            "code": "+965"
        },
        {
    
            "city": " kyrgyzstan ",
            "code": "+996"
        },
        {
    
            "city": " Laos ",
            "code": "+856"
        },
        {
    
            "city": " Latvia ",
            "code": "+371"
        },
        {
    
            "city": " Lebanon ",
            "code": "+961"
        },
        {
    
            "city": " Lesotho ",
            "code": "+266"
        },
        {
    
            "city": " Liberia ",
            "code": "+231"
        },
        {
    
            "city": " Libya ",
            "code": "+218"
        },
        {
    
            "city": " Liechtenstein ",
            "code": "+423"
        },
        {
    
            "city": " Lithuania ",
            "code": "+370"
        },
        {
    
            "city": " Luxembourg ",
            "code": "+352"
        },
        {
    
            "city": " Macedonia ",
            "code": "+389"
        },
        {
    
            "city": " Madagascar ",
            "code": "+261"
        },
        {
    
            "city": " Malawi ",
            "code": "+265"
        },
        {
    
            "city": " Malaysia ",
            "code": "+60"
        },
        {
    
            "city": " Maldives ",
            "code": "+960"
        },
        {
    
            "city": " Mali ",
            "code": "+223"
        },
        {
    
            "city": " Malta ",
            "code": "+356"
        },
        {
    
            "city": " Martinique ",
            "code": "+596"
        },
        {
    
            "city": " Mauritania ",
            "code": "+222"
        },
        {
    
            "city": " mauritius ",
            "code": "+230"
        },
        {
    
            "city": " Mayotte ",
            "code": "+262"
        },
        {
    
            "city": " Mexico ",
            "code": "+52"
        },
        {
    
            "city": " Moldova ",
            "code": "+373"
        },
        {
    
            "city": " Monaco ",
            "code": "+377"
        },
        {
    
            "city": " Mongolia ",
            "code": "+976"
        },
        {
    
            "city": " Montenegro ",
            "code": "+382"
        },
        {
    
            "city": " Montserrat ",
            "code": "+1664"
        },
        {
    
            "city": " Morocco ",
            "code": "+212"
        },
        {
    
            "city": " Mozambique ",
            "code": "+258"
        },
        {
    
            "city": " Namibia ",
            "code": "+264"
        },
        {
    
            "city": " Nepal ",
            "code": "+977"
        },
        {
    
            "city": " Netherlands ",
            "code": "+31"
        },
        {
    
            "city": " The Netherlands Antilles ",
            "code": "+599"
        },
        {
    
            "city": " New Caledonia ",
            "code": "+687"
        },
        {
    
            "city": " New Zealand ",
            "code": "+64"
        },
        {
    
            "city": " Nicaragua ",
            "code": "+505"
        },
        {
    
            "city": " Niger ",
            "code": "+227"
        },
        {
    
            "city": " Nigeria ",
            "code": "+234"
        },
        {
    
            "city": " The Norwegian ",
            "code": "+47"
        },
        {
    
            "city": " Oman ",
            "code": "+968"
        },
        {
    
            "city": " Pakistan ",
            "code": "+92"
        },
        {
    
            "city": " Palestine ",
            "code": "+970"
        },
        {
    
            "city": " panama ",
            "code": "+507"
        },
        {
    
            "city": " Papua New Guinea ",
            "code": "+675"
        },
        {
    
            "city": " Paraguay ",
            "code": "+595"
        },
        {
    
            "city": " Peru ",
            "code": "+51"
        },
        {
    
            "city": " the Philippines ",
            "code": "+63"
        },
        {
    
            "city": " Poland ",
            "code": "+48"
        },
        {
    
            "city": " Portugal ",
            "code": "+351"
        },
        {
    
            "city": " Puerto Rico ",
            "code": "+1"
        },
        {
    
            "city": " Kuta ",
            "code": "+974"
        },
        {
    
            "city": " Reunion ",
            "code": "+262"
        },
        {
    
            "city": " Romania ",
            "code": "+40"
        },
        {
    
            "city": " Russia ",
            "code": "+7"
        },
        {
    
            "city": " Rwanda ",
            "code": "+250"
        },
        {
    
            "city": " Eastern Samoa ",
            "code": "+684"
        },
        {
    
            "city": " Western Samoa ",
            "code": "+685"
        },
        {
    
            "city": " San Marino ",
            "code": "+378"
        },
        {
    
            "city": " Sao Tome and Principi ",
            "code": "+239"
        },
        {
    
            "city": " Saudi Arabia ",
            "code": "+966"
        },
        {
    
            "city": " Senegal ",
            "code": "+221"
        },
        {
    
            "city": " Serbia ",
            "code": "+381"
        },
        {
    
            "city": " Seychelles ",
            "code": "+248"
        },
        {
    
            "city": " Sierra Leone ",
            "code": "+232"
        },
        {
    
            "city": " Slovakia ",
            "code": "+421"
        },
        {
    
            "city": " Slovenia ",
            "code": "+386"
        },
        {
    
            "city": " South Africa ",
            "code": "+27"
        },
        {
    
            "city": " South Korea ",
            "code": "+82"
        },
        {
    
            "city": " Spain ",
            "code": "+34"
        },
        {
    
            "city": " Sri Lanka ",
            "code": "+94"
        },
        {
    
            "city": " Saint Kitts and Nevis ",
            "code": "+1869"
        },
        {
    
            "city": " Saint Lucia ",
            "code": "+1758"
        },
        {
    
            "city": " Saint Vincent ",
            "code": "+1784"
        },
        {
    
            "city": " Sultan ",
            "code": "+249"
        },
        {
    
            "city": " Suriname ",
            "code": "+597"
        },
        {
    
            "city": " Swaziland ",
            "code": "+268"
        },
        {
    
            "city": " The Swedish ",
            "code": "+46"
        },
        {
    
            "city": " Switzerland ",
            "code": "+41"
        },
        {
    
            "city": " Syria ",
            "code": "+963"
        },
        {
    
            "city": " tajikistan ",
            "code": "+992"
        },
        {
    
            "city": " Tanzania ",
            "code": "+255"
        },
        {
    
            "city": " Thailand ",
            "code": "+66"
        },
        {
    
            "city": " Timor-Leste ",
            "code": "+670"
        },
        {
    
            "city": " Togo ",
            "code": "+228"
        },
        {
    
            "city": " Tonga ",
            "code": "+676"
        },
        {
    
            "city": " Trinidad and Tobago ",
            "code": "+1868"
        },
        {
    
            "city": " Tunisia ",
            "code": "+216"
        },
        {
    
            "city": " Turkey ",
            "code": "+90"
        },
        {
    
            "city": " turkmenistan ",
            "code": "+993"
        },
        {
    
            "city": " The Turks and Caicos Islands ",
            "code": "+1649"
        },
        {
    
            "city": " Uganda, ",
            "code": "+256"
        },
        {
    
            "city": " Ukraine ",
            "code": "+380"
        },
        {
    
            "city": " United Arab Emirates ",
            "code": "+971"
        },
        {
    
            "city": " The British ",
            "code": "+44"
        },
        {
    
            "city": " The United States ",
            "code": "+1"
        },
        {
    
            "city": " Uruguay ",
            "code": "+598"
        },
        {
    
            "city": " Uzbekistan ",
            "code": "+998"
        },
        {
    
            "city": " Vanuatu ",
            "code": "+678"
        },
        {
    
            "city": " venezuela ",
            "code": "+58"
        },
        {
    
            "city": " Vietnam ",
            "code": "+84"
        },
        {
    
            "city": " Virgin Islands ",
            "code": "+1340"
        },
        {
    
            "city": " Yemen ",
            "code": "+967"
        },
        {
    
            "city": " Zambia ",
            "code": "+260"
        },
        {
    
            "city": " zimbabwe ",
            "code": "+263"
        }
    ]
}

Attached separately PHP Read
The new file on the drawing is named mobile_area_code.json

	$data = file_get_contents('mobile_area_code.json');
    $data = json_decode($data,true);
    return empty($data) ? [] : $data['list'];
原网站

版权声明
本文为[Pointer loves me again]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062117262516.html