Last active
November 29, 2019 11:40
-
-
Save luizbills/47eb211d0b6b160b9ea40c51766caae4 to your computer and use it in GitHub Desktop.
Estados brasileiros em array (Brazilian states in array)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$states = [ | |
'AC' => 'Acre', | |
'AL' => 'Alagoas', | |
'AP' => 'Amapá', | |
'AM' => 'Amazonas', | |
'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', | |
'RS' => 'Rio Grande do Sul', | |
'RO' => 'Rondônia', | |
'RR' => 'Roraima', | |
'SC' => 'Santa Catarina', | |
'SP' => 'São Paulo', | |
'SE' => 'Sergipe', | |
'TO' => 'Tocantins', | |
]; | |
$states_abbr = [ | |
'Acre' => 'AC', | |
'Alagoas' => 'AL', | |
'Amapá' => 'AP', | |
'Amazonas' => 'AM', | |
'Bahia' => 'BA', | |
'Ceará' => 'CE', | |
'Distrito Federal' => 'DF', | |
'Espírito Santo' => 'ES', | |
'Goiás' => 'GO', | |
'Maranhão' => 'MA', | |
'Mato Grosso' => 'MT', | |
'Mato Grosso do Sul' => 'MS', | |
'Minas Gerais' => 'MG', | |
'Pará' => 'PA', | |
'Paraíba' => 'PB', | |
'Paraná' => 'PR', | |
'Pernambuco' => 'PE', | |
'Piauí' => 'PI', | |
'Rio de Janeiro' => 'RJ', | |
'Rio Grande do Norte' => 'RN', | |
'Rio Grande do Sul' => 'RS', | |
'Rondônia' => 'RO', | |
'Roraima' => 'RR', | |
'Santa Catarina' => 'SC', | |
'São Paulo' => 'SP', | |
'Sergipe' => 'SE', | |
'Tocantins' => 'TO', | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment