Function __global->find_country_name_from_iso
Definitions
sources/locations.php
- Find the country name of an ISO country code.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $iso | ?string | No | No | required parameter | N/A | N/A | ISO country code (null: unknown) |
Returns
- Country name (null: not found)
- Type: ?string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the country name of an ISO country code.
*
* @param ?string $iso ISO country code (null: unknown)
* @return ?string Country name (null: not found)
*/
function find_country_name_from_iso(?string $iso) : ?string
* Find the country name of an ISO country code.
*
* @param ?string $iso ISO country code (null: unknown)
* @return ?string Country name (null: not found)
*/
function find_country_name_from_iso(?string $iso) : ?string

