string|null getCountryName(string $country, string $displayLocale = null)
Returns the name of a country.
string|null getCountryName(string $country, string $displayLocale = null)
Returns the name of a country.
string | $country | A country code (e.g. "US") |
string | $displayLocale | Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}. |
string|null | The name of the country or NULL if not found |
Designed by : w10schools
service@w10schools.com
Please login to continue.