Commit:    e3166e9ab643ac70474550c42b841ff5333ff6aa
Author:    Hannes Magnusson <[email protected]>         Fri, 28 Mar 2014 
00:23:30 -0700
Parents:   4fcea48b790de4b8a9e63384a4de1e21eb98e7fe
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=e3166e9ab643ac70474550c42b841ff5333ff6aa

Log:
Define the language array, both directions

Changed paths:
  M  include/countries_alpha_mapping.inc


Diff:
diff --git a/include/countries_alpha_mapping.inc 
b/include/countries_alpha_mapping.inc
index 70e0a1f..a69dccc 100644
--- a/include/countries_alpha_mapping.inc
+++ b/include/countries_alpha_mapping.inc
@@ -2,7 +2,7 @@
 /**
  * This file has been extracted from 
http://opengeocode.org/download/countrynames.txt
  */
-return array(
+$COUNTRY_ALPHA_3_TO_2 = array(
  "AFG" => "AF",
  "ALA" => "AX",
  "ALB" => "AL",
@@ -251,4 +251,5 @@ return array(
  "YEM" => "YE",
  "ZMB" => "ZM",
  "ZWE" => "ZW",
- );
\ No newline at end of file
+ );
+$COUNTRY_ALPHA_2_TO_3 = array_flip($COUNTRY_ALPHA_3_TO_2);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to