src/PhoneNumberUtil.php
public function getRegionCodesForCountryCode($countryCallingCode)
    {
        $regionCodes = isset($this->countryCallingCodeToRegionCodeMap[$countryCallingCode]) ? $this->countryCallingCodeToRegionCodeMap[$countryCallingCode] : null;
        return $regionCodes === null ? array() : $regionCodes;
    }
public function getRegionCodesForCountryCode($countryCallingCode)
    {
        $regionCodes = isset($this->countryCallingCodeToRegionCodeMap[$countryCallingCode]) ? $this->countryCallingCodeToRegionCodeMap[$countryCallingCode] : null;
        return $regionCodes === null ? array() : $regionCodes;
    }
public function getRegionCodesForCountryCode ( $ countryCallingCode ) { $ regionCodes = isset ( $ this -> countryCallingCodeToRegionCodeMap [ $ countryCallingCode ] ) ? $ this -> countryCallingCodeToRegionCodeMap [ $ countryCallingCode ] : null ; return $ regionCodes === null ? array ( ) : $ regionCodes ; }
Returns a list with the region codes that match the specific country calling code. For
non-geographical country calling codes, the region code 001 is returned. Also, in the case
of no region code being found, an empty list is returned.
@param int $countryCallingCode
@return array
Returns a list with the region codes that match the specific country calling code . For non - geographical country calling codes the region code 001 is returned . Also in the case of no region code being found an empty list is returned .