US State Names and Abbreviations as PHP Arrays(gist.github.com) |
US State Names and Abbreviations as PHP Arrays(gist.github.com) |
Datasets: Languages (human), SMS Carriers
Language: SQL
"Here is the list without Delaware" almost made me spit-take.
N-1/+1 joke, since Delaware was the first (by date of ratification) state.
Discussion around incomplete sets (do you include "military" states or other non-"50 state" territories?).
Ad hominem attack on removed entity (claiming entity is unimportant).
<?php
$THE_UNITED_STATES = file_get_contents('states_temp.php');
eval($THE_UNITED_STATES);
?>
_temp.php, evals, temporary variable names... I'm getting flashbacks.assuming the php file just echoes its own source code,which is entirely doable.
Data can be exported in CSV, a PHP array, or a whole mess of MySQL commands to build a table.
It's also open source if you just want the source data: https://github.com/daveross/statetable-com/blob/master/state...
I hope someone on Hacker News who contributes to the PHP core can attempt to correct this discrepancy.
I call it camel_Snake.
;)
Although it was totally worth it. ;-)