Function __global->find_region_name_from_iso
Definitions
sources/locations.php
- Find the region name of an ISO 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 code (null: unknown) |
Returns
- Region name (null: not found)
- Type: ?string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the region name of an ISO code.
*
* @param ?string $iso ISO code (null: unknown)
* @return ?string Region name (null: not found)
*/
function find_region_name_from_iso(?string $iso) : ?string
* Find the region name of an ISO code.
*
* @param ?string $iso ISO code (null: unknown)
* @return ?string Region name (null: not found)
*/
function find_region_name_from_iso(?string $iso) : ?string

