src/Iso3166.php
public static function getByNumeric3($numeric3)
    {
        $numeric3 = strtoupper($numeric3);

        if (!isset(static::$numeric3Index[$numeric3])) {
            throw new OutOfBoundsException("The 3 character numeric code \"$numeric3\" is not listed in ISO 3166");
        }

        return new Country(static::$countries[static::$numeric3Index[$numeric3]]);
    }
public static function getByNumeric3($numeric3)
    {
        $numeric3 = strtoupper($numeric3);

        if (!isset(static::$numeric3Index[$numeric3])) {
            throw new OutOfBoundsException("The 3 character numeric code \"$numeric3\" is not listed in ISO 3166");
        }

        return new Country(static::$countries[static::$numeric3Index[$numeric3]]);
    }
public static function getByNumeric3 ( $ numeric3 ) { $ numeric3 = strtoupper ( $ numeric3 ) ; if ( ! isset ( static :: $ numeric3Index [ $ numeric3 ] ) ) { throw new OutOfBoundsException ( "The 3 character numeric code \"$numeric3\" is not listed in ISO 3166" ) ; } return new Country ( static :: $ countries [ static :: $ numeric3Index [ $ numeric3 ] ] ) ; }
Find and return country by its numeric three-character identifier.

@param string $numeric3
@return array
Find and return country by its numeric three - character identifier .