Skip to content

Instantly share code, notes, and snippets.

@ckrack
Created December 22, 2017 15:47
Show Gist options
  • Save ckrack/be3611c9c9cb4f7a9e021d95a811dd70 to your computer and use it in GitHub Desktop.
Save ckrack/be3611c9c9cb4f7a9e021d95a811dd70 to your computer and use it in GitHub Desktop.
Map PHP gender ext integers to ISO-3166 country codes
iso gender_int
AE 48
AL 37
AM 43
AT 14
AZ 44
BA 30
BE 9
BG 29
BY 40
CH 15
CN 50
CZ 25
DE 12
DK 17
EE 21
ES 4
FI 20
FR 8
GB 1
GE 45
GR 38
HR 31
HU 27
IE 2
IL 49
IN 51
IS 16
IT 6
JP 52
KP 53
KR 53
KZ 46
LT 23
LU 10
LV 22
MD 41
ME 34
MK 33
MT 7
NL 11
NO 18
PL 24
PT 5
RO 28
RS 35
RU 39
SA 48
SE 19
SI 36
SK 26
SY 48
TR 47
UA 42
US 3
UZ 46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment