Skip to content

Instantly share code, notes, and snippets.

@rudwolf
Last active August 10, 2016 17:55
Show Gist options
  • Save rudwolf/887264bcff63a52060e4 to your computer and use it in GitHub Desktop.
Save rudwolf/887264bcff63a52060e4 to your computer and use it in GitHub Desktop.
Array associativa de estados brasileiros com sigla pra chave e nome para valor para uso em PHP
<?php
$estados = array(
"AC"=>"Acre",
"AL"=>"Alagoas",
"AM"=>"Amazonas",
"AP"=>"Amapá",
"BA"=>"Bahia",
"CE"=>"Ceará",
"DF"=>"Distrito Federal",
"ES"=>"Espírito Santo",
"GO"=>"Goiás",
"MA"=>"Maranhão",
"MT"=>"Mato Grosso",
"MS"=>"Mato Grosso do Sul",
"MG"=>"Minas Gerais",
"PA"=>"Pará",
"PB"=>"Paraíba",
"PR"=>"Paraná",
"PE"=>"Pernambuco",
"PI"=>"Piauí",
"RJ"=>"Rio de Janeiro",
"RN"=>"Rio Grande do Norte",
"RO"=>"Rondônia",
"RS"=>"Rio Grande do Sul",
"RR"=>"Roraima",
"SC"=>"Santa Catarina",
"SE"=>"Sergipe",
"SP"=>"São Paulo",
"TO"=>"Tocantins"
); ?>
@reginaldojunior
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment