Strips any international prefix (such as +, 00, 011) present in the number provided, normalizes
the resulting number, and indicates if an international prefix was present.
public maybeStripInternationalPrefixAndNormalize ( string &$number, string $possibleIddPrefix ) : integer | ||
$number | string | the non-normalized telephone number that we wish to strip any international dialing prefix from. |
$possibleIddPrefix | string | string the international direct dialing prefix from the region we think this number may be dialed in |
Результат | integer | the corresponding CountryCodeSource if an international dialing prefix could be removed from the number, otherwise CountryCodeSource.FROM_DEFAULT_COUNTRY if the number did not seem to be in international format. |