PHP Classes

File: src/CountryCode.php

Recommend this page to a friend!
  Classes of Peter Kahl  >  PHP Country Code to Country Name  >  src/CountryCode.php  
File: src/CountryCode.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Country Code to Country Name
Validate country code and get the respective name
Author: By
Last change: Update CountryCode.php

isset is way faster than array_key_exists, and I doubt you'll have codes with a NULL as value.
Date: 6 months ago
Size: 8,468 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: