Skip to content

Instantly share code, notes, and snippets.

View kwedbh's full-sized avatar

Kingsley Williams kwedbh

  • Kwed Nigeria
  • Lagos, Nigeria
  • X @kwedbh
View GitHub Profile
@kwedbh
kwedbh / phonePrefixCodesWithCountry.php
Created June 1, 2021 05:06 — forked from grexlort/phonePrefixCodesWithCountry.php
List of phone prefix codes with country in PHP array format prefix => country +xxx
// data from https://gist.github.com/andyj/7108917
$array = [
'44' => 'UK (+44)',
'1' => 'USA (+1)',
'213' => 'Algeria (+213)',
'376' => 'Andorra (+376)',
'244' => 'Angola (+244)',
'1264' => 'Anguilla (+1264)',
'1268' => 'Antigua & Barbuda (+1268)',