全国省份和城市数组

PHP中文网
リリース: 2016-05-25 17:07:20
オリジナル
1986 人が閲覧しました

全国省份和城市数组

<?php
$city_arr = array(&#39;安徽&#39;
            => Array(
            &#39;合肥(*)&#39;, &#39;合肥&#39;,
            &#39;安庆&#39;, &#39;安庆&#39;,
            &#39;蚌埠&#39;, &#39;蚌埠&#39;,
            &#39;亳州&#39;, &#39;亳州&#39;,
            &#39;巢湖&#39;, &#39;巢湖&#39;,
            &#39;滁州&#39;, &#39;滁州&#39;,
            &#39;阜阳&#39;, &#39;阜阳&#39;,
            &#39;贵池&#39;, &#39;贵池&#39;,
            &#39;淮北&#39;, &#39;淮北&#39;,
            &#39;淮化&#39;, &#39;淮化&#39;,
            &#39;淮南&#39;, &#39;淮南&#39;,
            &#39;黄山&#39;, &#39;黄山&#39;,
            &#39;九华山&#39;, &#39;九华山&#39;,
            &#39;六安&#39;, &#39;六安&#39;,
            &#39;马鞍山&#39;, &#39;马鞍山&#39;,
            &#39;宿州&#39;, &#39;宿州&#39;,
            &#39;铜陵&#39;, &#39;铜陵&#39;,
            &#39;屯溪&#39;, &#39;屯溪&#39;,
            &#39;芜湖&#39;, &#39;芜湖&#39;,
            &#39;宣城&#39;, &#39;宣城&#39;),
              
         &#39;北京&#39;
            => Array(
            &#39;东城&#39;, &#39;东城&#39;,
            &#39;西城&#39;, &#39;西城&#39;,
            &#39;崇文&#39;, &#39;崇文&#39;,
            &#39;宣武&#39;, &#39;宣武&#39;,
            &#39;朝阳&#39;, &#39;朝阳&#39;,
            &#39;丰台&#39;, &#39;丰台&#39;,
            &#39;石景山&#39;, &#39;石景山&#39;,
            &#39;海淀&#39;, &#39;海淀&#39;,
            &#39;门头沟&#39;, &#39;门头沟&#39;,
            &#39;房山&#39;, &#39;房山&#39;,
            &#39;通州&#39;, &#39;通州&#39;,
            &#39;顺义&#39;, &#39;顺义&#39;,
            &#39;昌平&#39;, &#39;昌平&#39;,
            &#39;大兴&#39;, &#39;大兴&#39;,
            &#39;平谷&#39;, &#39;平谷&#39;,
            &#39;怀柔&#39;, &#39;怀柔&#39;,
            &#39;密云&#39;, &#39;密云&#39;,
            &#39;延庆&#39;, &#39;延庆&#39;),
             
         &#39;重庆&#39;
            => Array(
            &#39;万州&#39;, &#39;万州&#39;,
            &#39;涪陵&#39;, &#39;涪陵&#39;,
            &#39;渝中&#39;, &#39;渝中&#39;,
            &#39;大渡口&#39;, &#39;大渡口&#39;,
            &#39;江北&#39;, &#39;江北&#39;,
            &#39;沙坪坝&#39;, &#39;沙坪坝&#39;,
            &#39;九龙坡&#39;,&#39;九龙坡&#39;,
            &#39;南岸&#39;, &#39;南岸&#39;,
            &#39;北碚&#39;, &#39;北碚&#39;,
            &#39;万盛&#39;, &#39;万盛&#39;,
            &#39;双挢&#39;, &#39;双挢&#39;,
            &#39;渝北&#39;, &#39;渝北&#39;,
            &#39;巴南&#39;, &#39;巴南&#39;,
            &#39;黔江&#39;, &#39;黔江&#39;,
            &#39;长寿&#39;, &#39;长寿&#39;,
            &#39;綦江&#39;, &#39;綦江&#39;,
            &#39;潼南&#39;, &#39;潼南&#39;,
            &#39;铜梁&#39;, &#39;铜梁&#39;,
            &#39;大足&#39;, &#39;大足&#39;,
            &#39;荣昌&#39;, &#39;荣昌&#39;,
            &#39;壁山&#39;, &#39;壁山&#39;,
            &#39;梁平&#39;, &#39;梁平&#39;,
            &#39;城口&#39;, &#39;城口&#39;,
            &#39;丰都&#39;, &#39;丰都&#39;,
            &#39;垫江&#39;, &#39;垫江&#39;,
            &#39;武隆&#39;, &#39;武隆&#39;,
            &#39;忠县&#39;, &#39;忠县&#39;,
            &#39;开县&#39;, &#39;开县&#39;,
            &#39;云阳&#39;, &#39;云阳&#39;,
            &#39;奉节&#39;, &#39;奉节&#39;,
            &#39;巫山&#39;, &#39;巫山&#39;,
            &#39;巫溪&#39;, &#39;巫溪&#39;,
            &#39;石柱&#39;, &#39;石柱&#39;,
            &#39;秀山&#39;, &#39;秀山&#39;,
            &#39;酉阳&#39;, &#39;酉阳&#39;,
            &#39;彭水&#39;, &#39;彭水&#39;,
            &#39;江津&#39;, &#39;江津&#39;,
            &#39;合川&#39;, &#39;合川&#39;,
            &#39;永川&#39;, &#39;永川&#39;,
            &#39;南川&#39;, &#39;南川&#39;),
             
         &#39;福建&#39;
            => Array(
            &#39;福州(*)&#39;, &#39;福州&#39;,
            &#39;福安&#39;, &#39;福安&#39;,
            &#39;龙岩&#39;, &#39;龙岩&#39;,
            &#39;南平&#39;, &#39;南平&#39;,
            &#39;宁德&#39;, &#39;宁德&#39;,
            &#39;莆田&#39;, &#39;莆田&#39;,
            &#39;泉州&#39;, &#39;泉州&#39;,
            &#39;三明&#39;, &#39;三明&#39;,
            &#39;邵武&#39;, &#39;邵武&#39;,
            &#39;石狮&#39;, &#39;石狮&#39;,
            &#39;晋江&#39;, &#39;晋江&#39;,
            &#39;永安&#39;, &#39;永安&#39;,
            &#39;武夷山&#39;, &#39;武夷山&#39;,
            &#39;厦门&#39;, &#39;厦门&#39;,
            &#39;漳州&#39;, &#39;漳州&#39;),
              
         &#39;甘肃&#39;
            => Array(
            &#39;兰州(*)&#39;, &#39;兰州&#39;,
            &#39;白银&#39;, &#39;白银&#39;,
            &#39;定西&#39;, &#39;定西&#39;,
            &#39;敦煌&#39;, &#39;敦煌&#39;,
            &#39;甘南&#39;, &#39;甘南&#39;,
            &#39;金昌&#39;, &#39;金昌&#39;,
            &#39;酒泉&#39;, &#39;酒泉&#39;,
            &#39;临夏&#39;, &#39;临夏&#39;,
            &#39;平凉&#39;, &#39;平凉&#39;,
            &#39;天水&#39;, &#39;天水&#39;,
            &#39;武都&#39;, &#39;武都&#39;,
            &#39;武威&#39;, &#39;武威&#39;,
            &#39;西峰&#39;, &#39;西峰&#39;,
            &#39;嘉峪关&#39;,&#39;嘉峪关&#39;,
            &#39;张掖&#39;, &#39;张掖&#39;),
             
         &#39;广东&#39;
            => Array(
            &#39;广州(*)&#39;, &#39;广州&#39;,
            &#39;潮阳&#39;, &#39;潮阳&#39;,
            &#39;潮州&#39;, &#39;潮州&#39;,
            &#39;澄海&#39;, &#39;澄海&#39;,
            &#39;东莞&#39;, &#39;东莞&#39;,
            &#39;佛山&#39;, &#39;佛山&#39;,
            &#39;河源&#39;, &#39;河源&#39;,
            &#39;惠州&#39;, &#39;惠州&#39;,
            &#39;江门&#39;, &#39;江门&#39;,
            &#39;揭阳&#39;, &#39;揭阳&#39;,
            &#39;开平&#39;, &#39;开平&#39;,
            &#39;茂名&#39;, &#39;茂名&#39;,
            &#39;梅州&#39;, &#39;梅州&#39;,
            &#39;清远&#39;, &#39;清远&#39;,
            &#39;汕头&#39;, &#39;汕头&#39;,
            &#39;汕尾&#39;, &#39;汕尾&#39;,
            &#39;韶关&#39;, &#39;韶关&#39;,
            &#39;深圳&#39;, &#39;深圳&#39;,
            &#39;顺德&#39;, &#39;顺德&#39;,
            &#39;阳江&#39;, &#39;阳江&#39;,
            &#39;英德&#39;, &#39;英德&#39;,
            &#39;云浮&#39;, &#39;云浮&#39;,
            &#39;增城&#39;, &#39;增城&#39;,
            &#39;湛江&#39;, &#39;湛江&#39;,
            &#39;肇庆&#39;, &#39;肇庆&#39;,
            &#39;中山&#39;, &#39;中山&#39;,
            &#39;珠海&#39;, &#39;珠海&#39;),
             
         &#39;广西&#39;
            => Array(
            &#39;南宁(*)&#39;, &#39;南宁&#39;,
            &#39;百色&#39;, &#39;百色&#39;,
            &#39;北海&#39;, &#39;北海&#39;,
            &#39;桂林&#39;, &#39;桂林&#39;,
            &#39;防城港&#39;, &#39;防城港&#39;,
            &#39;河池&#39;, &#39;河池&#39;,
            &#39;贺州&#39;, &#39;贺州&#39;,
            &#39;柳州&#39;, &#39;柳州&#39;,
            &#39;来宾&#39;, &#39;来宾&#39;,
            &#39;钦州&#39;, &#39;钦州&#39;,
            &#39;梧州&#39;, &#39;梧州&#39;,
            &#39;贵港&#39;, &#39;贵港&#39;,
            &#39;玉林&#39;, &#39;玉林&#39;),
             
         &#39;贵州&#39;
            => Array(
            &#39;贵阳(*)&#39;, &#39;贵阳&#39;,
            &#39;安顺&#39;, &#39;安顺&#39;,
            &#39;毕节&#39;, &#39;毕节&#39;,
            &#39;都匀&#39;, &#39;都匀&#39;,
            &#39;凯里&#39;, &#39;凯里&#39;,
            &#39;六盘水&#39;, &#39;六盘水&#39;,
            &#39;铜仁&#39;, &#39;铜仁&#39;,
            &#39;兴义&#39;, &#39;兴义&#39;,
            &#39;玉屏&#39;, &#39;玉屏&#39;,
            &#39;遵义&#39;, &#39;遵义&#39;),
             
         &#39;海南&#39;
            => Array(
            &#39;海口(*)&#39;, &#39;海口&#39;,
    &#39;三亚&#39;, &#39;三亚&#39;,
    &#39;五指山&#39;, &#39;五指山&#39;,
    &#39;琼海&#39;, &#39;琼海&#39;,
    &#39;儋州&#39;, &#39;儋州&#39;,
    &#39;文昌&#39;, &#39;文昌&#39;,
    &#39;万宁&#39;, &#39;万宁&#39;,
    &#39;东方&#39;, &#39;东方&#39;,
    &#39;定安&#39;, &#39;定安&#39;,
    &#39;屯昌&#39;, &#39;屯昌&#39;,
    &#39;澄迈&#39;, &#39;澄迈&#39;,
    &#39;临高&#39;, &#39;临高&#39;,
    &#39;万宁&#39;, &#39;万宁&#39;,
    &#39;白沙黎族&#39;, &#39;白沙黎族&#39;,
    &#39;昌江黎族&#39;, &#39;昌江黎族&#39;,
    &#39;乐东黎族&#39;, &#39;乐东黎族&#39;,
    &#39;陵水黎族&#39;, &#39;陵水黎族&#39;,
    &#39;保亭黎族&#39;, &#39;保亭黎族&#39;,
    &#39;琼中黎族&#39;, &#39;琼中黎族&#39;,
    &#39;西沙群岛&#39;, &#39;西沙群岛&#39;,
    &#39;南沙群岛&#39;, &#39;南沙群岛&#39;,
    &#39;中沙群岛&#39;, &#39;中沙群岛&#39;
            ),
             
         &#39;河北&#39;
            => Array(
            &#39;石家庄(*)&#39;, &#39;石家庄&#39;,
            &#39;保定&#39;, &#39;保定&#39;,
            &#39;北戴河&#39;, &#39;北戴河&#39;,
            &#39;沧州&#39;, &#39;沧州&#39;,
            &#39;承德&#39;, &#39;承德&#39;,
            &#39;丰润&#39;, &#39;丰润&#39;,
            &#39;邯郸&#39;, &#39;邯郸&#39;,
            &#39;衡水&#39;, &#39;衡水&#39;,
            &#39;廊坊&#39;, &#39;廊坊&#39;,
            &#39;南戴河&#39;, &#39;南戴河&#39;,
            &#39;秦皇岛&#39;, &#39;秦皇岛&#39;,
            &#39;唐山&#39;, &#39;唐山&#39;,
            &#39;新城&#39;, &#39;新城&#39;,
            &#39;邢台&#39;, &#39;邢台&#39;,
            &#39;张家口&#39;, &#39;张家口&#39;),
             
         &#39;黑龙江&#39;
            => Array(
            &#39;哈尔滨(*)&#39;, &#39;哈尔滨&#39;,
            &#39;北安&#39;, &#39;北安&#39;,
            &#39;大庆&#39;, &#39;大庆&#39;,
            &#39;大兴安岭&#39;, &#39;大兴安岭&#39;,
            &#39;鹤岗&#39;, &#39;鹤岗&#39;,
            &#39;黑河&#39;, &#39;黑河&#39;,
            &#39;佳木斯&#39;, &#39;佳木斯&#39;,
            &#39;鸡西&#39;, &#39;鸡西&#39;,
            &#39;牡丹江&#39;, &#39;牡丹江&#39;,
            &#39;齐齐哈尔&#39;, &#39;齐齐哈尔&#39;,
            &#39;七台河&#39;, &#39;七台河&#39;,
            &#39;双鸭山&#39;, &#39;双鸭山&#39;,
            &#39;绥化&#39;, &#39;绥化&#39;,
            &#39;伊春&#39;, &#39;伊春&#39;),
             
         &#39;河南&#39;
            => Array(
            &#39;郑州(*)&#39;, &#39;郑州&#39;,
            &#39;安阳&#39;, &#39;安阳&#39;,
            &#39;鹤壁&#39;, &#39;鹤壁&#39;,
            &#39;潢川&#39;, &#39;潢川&#39;,
            &#39;焦作&#39;, &#39;焦作&#39;,
            &#39;济源&#39;, &#39;济源&#39;,
            &#39;开封&#39;, &#39;开封&#39;,
            &#39;漯河&#39;, &#39;漯河&#39;,
            &#39;洛阳&#39;, &#39;洛阳&#39;,
            &#39;南阳&#39;, &#39;南阳&#39;,
            &#39;平顶山&#39;, &#39;平顶山&#39;,
            &#39;濮阳&#39;, &#39;濮阳&#39;,
            &#39;三门峡&#39;, &#39;三门峡&#39;,
            &#39;商丘&#39;, &#39;商丘&#39;,
            &#39;新乡&#39;, &#39;新乡&#39;,
            &#39;信阳&#39;, &#39;信阳&#39;,
            &#39;许昌&#39;, &#39;许昌&#39;,
            &#39;周口&#39;, &#39;周口&#39;,
            &#39;驻马店&#39;, &#39;驻马店&#39;),
             
         &#39;香港&#39;
            => Array(
            &#39;香港&#39;, &#39;香港&#39;,
            &#39;九龙&#39;, &#39;九龙&#39;,
            &#39;新界&#39;, &#39;新界&#39;),
             
         &#39;湖北&#39;
            => Array(
            &#39;武汉(*)&#39;, &#39;武汉&#39;,
            &#39;恩施&#39;, &#39;恩施&#39;,
            &#39;鄂州&#39;, &#39;鄂州&#39;,
            &#39;黄冈&#39;, &#39;黄冈&#39;,
            &#39;黄石&#39;, &#39;黄石&#39;,
            &#39;荆门&#39;, &#39;荆门&#39;,
            &#39;荆州&#39;, &#39;荆州&#39;,
            &#39;潜江&#39;, &#39;潜江&#39;,
            &#39;十堰&#39;, &#39;十堰&#39;,
            &#39;随州&#39;, &#39;随州&#39;,
            &#39;武穴&#39;, &#39;武穴&#39;,
            &#39;仙桃&#39;, &#39;仙桃&#39;,
            &#39;咸宁&#39;, &#39;咸宁&#39;,
            &#39;襄阳&#39;, &#39;襄阳&#39;,
            &#39;襄樊&#39;, &#39;襄樊&#39;,
            &#39;孝感&#39;, &#39;孝感&#39;,
            &#39;宜昌&#39;, &#39;宜昌&#39;),
             
         &#39;湖南&#39;
            => Array(
            &#39;长沙(*)&#39;, &#39;长沙&#39;,
            &#39;常德&#39;, &#39;常德&#39;,
            &#39;郴州&#39;, &#39;郴州&#39;,
            &#39;衡阳&#39;, &#39;衡阳&#39;,
            &#39;怀化&#39;, &#39;怀化&#39;,
            &#39;吉首&#39;, &#39;吉首&#39;,
            &#39;娄底&#39;, &#39;娄底&#39;,
            &#39;邵阳&#39;, &#39;邵阳&#39;,
            &#39;湘潭&#39;, &#39;湘潭&#39;,
            &#39;益阳&#39;, &#39;益阳&#39;,
            &#39;岳阳&#39;, &#39;岳阳&#39;,
            &#39;永州&#39;, &#39;永州&#39;,
            &#39;张家界&#39;, &#39;张家界&#39;,
            &#39;株洲&#39;, &#39;株洲&#39;),
             
         &#39;江苏&#39;
            => Array(
            &#39;南京(*)&#39;, &#39;南京&#39;,
            &#39;常熟&#39;, &#39;常熟&#39;,
            &#39;常州&#39;, &#39;常州&#39;,
            &#39;海门&#39;, &#39;海门&#39;,
            &#39;淮安&#39;, &#39;淮安&#39;,
            &#39;江都&#39;, &#39;江都&#39;,
            &#39;江阴&#39;, &#39;江阴&#39;,
            &#39;昆山&#39;, &#39;昆山&#39;,
            &#39;连云港&#39;, &#39;连云港&#39;,
            &#39;南通&#39;, &#39;南通&#39;,
            &#39;启东&#39;, &#39;启东&#39;,
            &#39;沭阳&#39;, &#39;沭阳&#39;,
            &#39;宿迁&#39;, &#39;宿迁&#39;,
            &#39;苏州&#39;, &#39;苏州&#39;,
            &#39;太仓&#39;, &#39;太仓&#39;,
            &#39;泰州&#39;, &#39;泰州&#39;,
            &#39;同里&#39;, &#39;同里&#39;,
            &#39;无锡&#39;, &#39;无锡&#39;,
            &#39;徐州&#39;, &#39;徐州&#39;,
            &#39;盐城&#39;, &#39;盐城&#39;,
            &#39;扬州&#39;, &#39;扬州&#39;,
            &#39;宜兴&#39;, &#39;宜兴&#39;,
            &#39;仪征&#39;, &#39;仪征&#39;,
            &#39;张家港&#39;, &#39;张家港&#39;,
            &#39;镇江&#39;, &#39;镇江&#39;,
            &#39;周庄&#39;, &#39;周庄&#39;),
             
         &#39;江西&#39;
            => Array(
            &#39;南昌(*)&#39;, &#39;南昌&#39;,
            &#39;抚州&#39;, &#39;抚州&#39;,
            &#39;赣州&#39;, &#39;赣州&#39;,
            &#39;吉安&#39;, &#39;吉安&#39;,
            &#39;景德镇&#39;, &#39;景德镇&#39;,
            &#39;井冈山&#39;, &#39;井冈山&#39;,
            &#39;九江&#39;, &#39;九江&#39;,
            &#39;庐山&#39;, &#39;庐山&#39;,
            &#39;萍乡&#39;, &#39;萍乡&#39;,
            &#39;上饶&#39;, &#39;上饶&#39;,
            &#39;新余&#39;, &#39;新余&#39;,
            &#39;宜春&#39;, &#39;宜春&#39;,
            &#39;鹰潭&#39;, &#39;鹰潭&#39;),
             
         &#39;吉林&#39;
            => Array(
            &#39;长春(*)&#39;, &#39;长春&#39;,
            &#39;白城&#39;, &#39;白城&#39;,
            &#39;白山&#39;, &#39;白山&#39;,
            &#39;珲春&#39;, &#39;珲春&#39;,
            &#39;辽源&#39;, &#39;辽源&#39;,
            &#39;梅河&#39;, &#39;梅河&#39;,
            &#39;吉林&#39;, &#39;吉林&#39;,
            &#39;四平&#39;, &#39;四平&#39;,
            &#39;松原&#39;, &#39;松原&#39;,
            &#39;通化&#39;, &#39;通化&#39;,
            &#39;延吉&#39;, &#39;延吉&#39;),
         &#39;辽宁&#39;
            => Array(
            &#39;沈阳(*)&#39;, &#39;沈阳&#39;,
            &#39;鞍山&#39;, &#39;鞍山&#39;,
            &#39;本溪&#39;, &#39;本溪&#39;,
            &#39;朝阳&#39;, &#39;朝阳&#39;,
            &#39;大连&#39;, &#39;大连&#39;,
            &#39;丹东&#39;, &#39;丹东&#39;,
            &#39;抚顺&#39;, &#39;抚顺&#39;,
            &#39;阜新&#39;, &#39;阜新&#39;,
            &#39;葫芦岛&#39;, &#39;葫芦岛&#39;,
            &#39;锦州&#39;, &#39;锦州&#39;,
            &#39;辽阳&#39;, &#39;辽阳&#39;,
            &#39;盘锦&#39;, &#39;盘锦&#39;,
            &#39;铁岭&#39;, &#39;铁岭&#39;,
            &#39;营口&#39;, &#39;营口&#39;),
             
         &#39;澳门&#39;
            => Array(
            &#39;澳门&#39;, &#39;澳门&#39;),
             
         &#39;内蒙古&#39;
            => Array(
            &#39;呼和浩特(*)&#39;, &#39;呼和浩特&#39;,
            &#39;阿拉善盟&#39;, &#39;阿拉善盟&#39;,
            &#39;包头&#39;, &#39;包头&#39;,
            &#39;赤峰&#39;, &#39;赤峰&#39;,
            &#39;东胜&#39;, &#39;东胜&#39;,
            &#39;海拉尔&#39;, &#39;海拉尔&#39;,
            &#39;集宁&#39;, &#39;集宁&#39;,
            &#39;临河&#39;, &#39;临河&#39;,
            &#39;通辽&#39;, &#39;通辽&#39;,
            &#39;乌海&#39;, &#39;乌海&#39;,
            &#39;乌兰浩特&#39;, &#39;乌兰浩特&#39;,
            &#39;锡林浩特&#39;, &#39;锡林浩特&#39;),
             
         &#39;宁夏&#39;
            => Array(
            &#39;银川(*)&#39;, &#39;银川&#39;,
            &#39;固原&#39;, &#39;固原&#39;,
            &#39;中卫&#39;, &#39;中卫&#39;,
            &#39;石嘴山&#39;, &#39;石嘴山&#39;,
            &#39;吴忠&#39;, &#39;吴忠&#39;),
             
         &#39;青海&#39;
            => Array(
            &#39;西宁(*)&#39;, &#39;西宁&#39;,
            &#39;德令哈&#39;, &#39;德令哈&#39;,
            &#39;格尔木&#39;, &#39;格尔木&#39;,
            &#39;共和&#39;, &#39;共和&#39;,
            &#39;海东&#39;, &#39;海东&#39;,
            &#39;海晏&#39;, &#39;海晏&#39;,
            &#39;玛沁&#39;, &#39;玛沁&#39;,
            &#39;同仁&#39;, &#39;同仁&#39;,
            &#39;玉树&#39;, &#39;玉树&#39;),
             
         &#39;山东&#39;
            => Array(
            &#39;济南(*)&#39;, &#39;济南&#39;,
            &#39;滨州&#39;, &#39;滨州&#39;,
            &#39;兖州&#39;, &#39;兖州&#39;,
            &#39;德州&#39;, &#39;德州&#39;,
            &#39;东营&#39;, &#39;东营&#39;,
            &#39;菏泽&#39;, &#39;菏泽&#39;,
            &#39;济宁&#39;, &#39;济宁&#39;,
            &#39;莱芜&#39;, &#39;莱芜&#39;,
            &#39;聊城&#39;, &#39;聊城&#39;,
            &#39;临沂&#39;, &#39;临沂&#39;,
            &#39;蓬莱&#39;, &#39;蓬莱&#39;,
            &#39;青岛&#39;, &#39;青岛&#39;,
            &#39;曲阜&#39;, &#39;曲阜&#39;,
            &#39;日照&#39;, &#39;日照&#39;,
            &#39;泰安&#39;, &#39;泰安&#39;,
            &#39;潍坊&#39;, &#39;潍坊&#39;,
            &#39;威海&#39;, &#39;威海&#39;,
            &#39;烟台&#39;, &#39;烟台&#39;,
            &#39;枣庄&#39;, &#39;枣庄&#39;,
            &#39;淄博&#39;, &#39;淄博&#39;),
             
         &#39;上海&#39;
            => Array(
            &#39;崇明&#39;, &#39;崇明&#39;,
            &#39;黄浦&#39;, &#39;黄浦&#39;,
            &#39;卢湾&#39;, &#39;卢湾&#39;,
            &#39;徐汇&#39;, &#39;徐汇&#39;,
            &#39;长宁&#39;, &#39;长宁&#39;,
            &#39;静安&#39;, &#39;静安&#39;,
            &#39;普陀&#39;, &#39;普陀&#39;,
            &#39;闸北&#39;, &#39;闸北&#39;,
            &#39;虹口&#39;, &#39;虹口&#39;,
            &#39;杨浦&#39;, &#39;杨浦&#39;,
            &#39;闵行&#39;, &#39;闵行&#39;,
            &#39;宝山&#39;, &#39;宝山&#39;,
            &#39;嘉定&#39;, &#39;嘉定&#39;,
            &#39;浦东&#39;, &#39;浦东&#39;,
            &#39;金山&#39;, &#39;金山&#39;,
            &#39;松江&#39;, &#39;松江&#39;,
            &#39;青浦&#39;, &#39;青浦&#39;,
            &#39;南汇&#39;, &#39;南汇&#39;,
            &#39;奉贤&#39;, &#39;奉贤&#39;,
            &#39;朱家角&#39;, &#39;朱家角&#39;),
             
         &#39;山西&#39;
            => Array(
            &#39;太原(*)&#39;, &#39;太原&#39;,
            &#39;长治&#39;, &#39;长治&#39;,
            &#39;大同&#39;, &#39;大同&#39;,
            &#39;候马&#39;, &#39;候马&#39;,
            &#39;晋城&#39;, &#39;晋城&#39;,
            &#39;离石&#39;, &#39;离石&#39;,
            &#39;临汾&#39;, &#39;临汾&#39;,
            &#39;宁武&#39;, &#39;宁武&#39;,
            &#39;朔州&#39;, &#39;朔州&#39;,
            &#39;忻州&#39;, &#39;忻州&#39;,
            &#39;阳泉&#39;, &#39;阳泉&#39;,
            &#39;榆次&#39;, &#39;榆次&#39;,
            &#39;运城&#39;, &#39;运城&#39;),
             
         &#39;陕西&#39;
            => Array(
            &#39;西安(*)&#39;, &#39;西安&#39;,
            &#39;安康&#39;, &#39;安康&#39;,
            &#39;宝鸡&#39;, &#39;宝鸡&#39;,
            &#39;汉中&#39;, &#39;汉中&#39;,
            &#39;渭南&#39;, &#39;渭南&#39;,
            &#39;商州&#39;, &#39;商州&#39;,
            &#39;绥德&#39;, &#39;绥德&#39;,
            &#39;铜川&#39;, &#39;铜川&#39;,
            &#39;咸阳&#39;, &#39;咸阳&#39;,
            &#39;延安&#39;, &#39;延安&#39;,
            &#39;榆林&#39;, &#39;榆林&#39;),
             
         &#39;四川&#39;
            => Array(
            &#39;成都(*)&#39;, &#39;成都&#39;,
            &#39;巴中&#39;, &#39;巴中&#39;,
            &#39;达州&#39;, &#39;达州&#39;,
            &#39;德阳&#39;, &#39;德阳&#39;,
            &#39;都江堰&#39;, &#39;都江堰&#39;,
            &#39;峨眉山&#39;, &#39;峨眉山&#39;,
            &#39;涪陵&#39;, &#39;涪陵&#39;,
            &#39;广安&#39;, &#39;广安&#39;,
            &#39;广元&#39;, &#39;广元&#39;,
            &#39;九寨沟&#39;, &#39;九寨沟&#39;,
            &#39;康定&#39;, &#39;康定&#39;,
            &#39;乐山&#39;, &#39;乐山&#39;,
            &#39;泸州&#39;, &#39;泸州&#39;,
            &#39;马尔康&#39;, &#39;马尔康&#39;,
            &#39;绵阳&#39;, &#39;绵阳&#39;,
            &#39;眉山&#39;, &#39;眉山&#39;,
            &#39;南充&#39;, &#39;南充&#39;,
            &#39;内江&#39;, &#39;内江&#39;,
            &#39;攀枝花&#39;, &#39;攀枝花&#39;,
            &#39;遂宁&#39;, &#39;遂宁&#39;,
            &#39;汶川&#39;, &#39;汶川&#39;,
            &#39;西昌&#39;, &#39;西昌&#39;,
            &#39;雅安&#39;, &#39;雅安&#39;,
            &#39;宜宾&#39;, &#39;宜宾&#39;,
            &#39;自贡&#39;, &#39;自贡&#39;,
            &#39;资阳&#39;, &#39;资阳&#39;),
             
         &#39;台湾&#39;
            => Array(
            &#39;台北(*)&#39;, &#39;台北&#39;,
            &#39;基隆&#39;, &#39;基隆&#39;,
            &#39;台南&#39;, &#39;台南&#39;,
            &#39;台中&#39;, &#39;台中&#39;,
            &#39;高雄&#39;, &#39;高雄&#39;,
            &#39;屏东&#39;, &#39;屏东&#39;,
            &#39;南投&#39;, &#39;南投&#39;,
            &#39;云林&#39;, &#39;云林&#39;,
            &#39;新竹&#39;, &#39;新竹&#39;,
            &#39;彰化&#39;, &#39;彰化&#39;,
            &#39;苗栗&#39;, &#39;苗栗&#39;,
            &#39;嘉义&#39;, &#39;嘉义&#39;,
            &#39;花莲&#39;, &#39;花莲&#39;,
            &#39;桃园&#39;, &#39;桃园&#39;,
            &#39;宜兰&#39;, &#39;宜兰&#39;,
            &#39;台东&#39;, &#39;台东&#39;,
            &#39;金门&#39;, &#39;金门&#39;,
            &#39;马祖&#39;, &#39;马祖&#39;,
            &#39;澎湖&#39;, &#39;澎湖&#39;,
            &#39;其它&#39;, &#39;其它&#39;),
             
         &#39;天津&#39;
            => Array(
            &#39;天津&#39;, &#39;天津&#39;,
            &#39;和平&#39;, &#39;和平&#39;,
            &#39;东丽&#39;, &#39;东丽&#39;,
            &#39;河东&#39;, &#39;河东&#39;,
            &#39;西青&#39;, &#39;西青&#39;,
            &#39;河西&#39;, &#39;河西&#39;,
            &#39;津南&#39;, &#39;津南&#39;,
            &#39;南开&#39;, &#39;南开&#39;,
            &#39;北辰&#39;, &#39;北辰&#39;,
            &#39;河北&#39;, &#39;河北&#39;,
            &#39;武清&#39;, &#39;武清&#39;,
            &#39;红挢&#39;, &#39;红挢&#39;,
            &#39;塘沽&#39;, &#39;塘沽&#39;,
            &#39;汉沽&#39;, &#39;汉沽&#39;,
            &#39;大港&#39;, &#39;大港&#39;,
            &#39;宁河&#39;, &#39;宁河&#39;,
            &#39;静海&#39;, &#39;静海&#39;,
            &#39;宝坻&#39;, &#39;宝坻&#39;,
            &#39;蓟县&#39;, &#39;蓟县&#39; ),
             
         &#39;新疆&#39;
            => Array(
            &#39;乌鲁木齐(*)&#39;, &#39;乌鲁木齐&#39;,
            &#39;阿克苏&#39;, &#39;阿克苏&#39;,
            &#39;阿勒泰&#39;, &#39;阿勒泰&#39;,
            &#39;阿图什&#39;, &#39;阿图什&#39;,
            &#39;博乐&#39;, &#39;博乐&#39;,
            &#39;昌吉&#39;, &#39;昌吉&#39;,
            &#39;东山&#39;, &#39;东山&#39;,
            &#39;哈密&#39;, &#39;哈密&#39;,
            &#39;和田&#39;, &#39;和田&#39;,
            &#39;喀什&#39;, &#39;喀什&#39;,
            &#39;克拉玛依&#39;, &#39;克拉玛依&#39;,
            &#39;库车&#39;, &#39;库车&#39;,
            &#39;库尔勒&#39;, &#39;库尔勒&#39;,
            &#39;奎屯&#39;, &#39;奎屯&#39;,
            &#39;石河子&#39;, &#39;石河子&#39;,
            &#39;塔城&#39;, &#39;塔城&#39;,
            &#39;吐鲁番&#39;, &#39;吐鲁番&#39;,
            &#39;伊宁&#39;, &#39;伊宁&#39;),
             
         &#39;西藏&#39;
            => Array(
            &#39;拉萨(*)&#39;, &#39;拉萨&#39;,
            &#39;阿里&#39;, &#39;阿里&#39;,
            &#39;昌都&#39;, &#39;昌都&#39;,
            &#39;林芝&#39;, &#39;林芝&#39;,
            &#39;那曲&#39;, &#39;那曲&#39;,
            &#39;日喀则&#39;, &#39;日喀则&#39;,
            &#39;山南&#39;, &#39;山南&#39;),
             
         &#39;云南&#39;
            => Array(
            &#39;昆明(*)&#39;, &#39;昆明&#39;,
            &#39;大理&#39;, &#39;大理&#39;,
            &#39;保山&#39;, &#39;保山&#39;,
            &#39;楚雄&#39;, &#39;楚雄&#39;,
            &#39;大理&#39;, &#39;大理&#39;,
            &#39;东川&#39;, &#39;东川&#39;,
            &#39;个旧&#39;, &#39;个旧&#39;,
            &#39;景洪&#39;, &#39;景洪&#39;,
            &#39;开远&#39;, &#39;开远&#39;,
            &#39;临沧&#39;, &#39;临沧&#39;,
            &#39;丽江&#39;, &#39;丽江&#39;,
            &#39;六库&#39;, &#39;六库&#39;,
            &#39;潞西&#39;, &#39;潞西&#39;,
            &#39;曲靖&#39;, &#39;曲靖&#39;,
            &#39;思茅&#39;, &#39;思茅&#39;,
            &#39;文山&#39;, &#39;文山&#39;,
            &#39;西双版纳&#39;, &#39;西双版纳&#39;,
            &#39;玉溪&#39;, &#39;玉溪&#39;,
            &#39;中甸&#39;, &#39;中甸&#39;,
            &#39;昭通&#39;, &#39;昭通&#39;),
             
         &#39;浙江&#39;
            => Array(
            &#39;杭州(*)&#39;, &#39;杭州&#39;,
            &#39;安吉&#39;, &#39;安吉&#39;,
            &#39;慈溪&#39;, &#39;慈溪&#39;,
            &#39;定海&#39;, &#39;定海&#39;,
            &#39;奉化&#39;, &#39;奉化&#39;,
            &#39;海盐&#39;, &#39;海盐&#39;,
            &#39;黄岩&#39;, &#39;黄岩&#39;,
            &#39;湖州&#39;, &#39;湖州&#39;,
            &#39;嘉兴&#39;, &#39;嘉兴&#39;,
            &#39;金华&#39;, &#39;金华&#39;,
            &#39;临安&#39;, &#39;临安&#39;,
            &#39;临海&#39;, &#39;临海&#39;,
            &#39;丽水&#39;, &#39;丽水&#39;,
            &#39;宁波&#39;, &#39;宁波&#39;,
            &#39;瓯海&#39;, &#39;瓯海&#39;,
            &#39;平湖&#39;, &#39;平湖&#39;,
            &#39;千岛湖&#39;, &#39;千岛湖&#39;,
            &#39;衢州&#39;, &#39;衢州&#39;,
            &#39;江山&#39;, &#39;江山&#39;,
            &#39;瑞安&#39;, &#39;瑞安&#39;,
            &#39;绍兴&#39;, &#39;绍兴&#39;,
            &#39;嵊州&#39;, &#39;嵊州&#39;,
            &#39;台州&#39;, &#39;台州&#39;,
            &#39;温岭&#39;, &#39;温岭&#39;,
            &#39;温州&#39;, &#39;温州&#39;,
   &#39;余姚&#39;, &#39;余姚&#39;,
   &#39;舟山&#39;, &#39;舟山&#39;),
             
         &#39;海外&#39;
            => Array(
            &#39;美国(*)&#39;, &#39;美国&#39;,
            &#39;英国&#39;, &#39;英国&#39;, 
            &#39;法国&#39;, &#39;法国&#39;, 
            &#39;瑞士&#39;, &#39;瑞士&#39;, 
            &#39;澳洲&#39;, &#39;澳洲&#39;, 
            &#39;新西兰&#39;, &#39;新西兰&#39;, 
            &#39;加拿大&#39;, &#39;加拿大&#39;, 
            &#39;奥地利&#39;, &#39;奥地利&#39;, 
            &#39;韩国&#39;, &#39;韩国&#39;, 
            &#39;日本&#39;, &#39;日本&#39;, 
            &#39;德国&#39;, &#39;德国&#39;, 
   &#39;意大利&#39;, &#39;意大利&#39;, 
   &#39;西班牙&#39;, &#39;西班牙&#39;, 
   &#39;俄罗斯&#39;, &#39;俄罗斯&#39;, 
   &#39;泰国&#39;, &#39;泰国&#39;, 
   &#39;印度&#39;, &#39;印度&#39;, 
   &#39;荷兰&#39;, &#39;荷兰&#39;, 
   &#39;新加坡&#39;, &#39;新加坡&#39;,
            &#39;欧洲&#39;, &#39;欧洲&#39;,
            &#39;北美&#39;, &#39;北美&#39;,
            &#39;南美&#39;, &#39;南美&#39;,
            &#39;亚洲&#39;, &#39;亚洲&#39;,
            &#39;非洲&#39;, &#39;非洲&#39;,
            &#39;大洋洲&#39;, &#39;大洋洲&#39;));
            $province_arr = array(&#39;安徽&#39;,&#39;北京&#39;,&#39;重庆&#39;,&#39;福建&#39;,&#39;甘肃&#39;,&#39;广东&#39;,&#39;广西&#39;,&#39;贵州&#39;,&#39;海南&#39;,&#39;河北&#39;,
            &#39;黑龙江&#39;,&#39;河南&#39;,&#39;香港&#39;,&#39;湖北&#39;,&#39;湖南&#39;,&#39;江苏&#39;,&#39;江西&#39;,&#39;吉林&#39;,&#39;辽宁&#39;,&#39;澳门&#39;,&#39;内蒙古&#39;,&#39;宁夏&#39;,&#39;青海&#39;,
            &#39;山东&#39;,&#39;上海&#39;,&#39;山西&#39;,&#39;陕西&#39;,&#39;四川&#39;,&#39;台湾&#39;,&#39;天津&#39;,&#39;新疆&#39;,&#39;西藏&#39;,&#39;云南&#39;,&#39;浙江&#39;,&#39;海外&#39;);
            $key = rand(0,34);
            $province = $province_arr[$key];
            $city_array = $city_arr[$province];
            $num = count($city_array);
            $num = $num - 1;
            $key2 = rand(0,$num);
            $city = $city_array[$key2];
            echo $city;
            echo $province;
?>
ログイン後にコピー

                   

以上就是全国省份和城市数组的内容,更多相关内容请关注PHP中文网(www.php.cn)!

関連ラベル:
ソース:php.cn
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
人気のおすすめ
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート