Tests whether a short number matches a valid pattern in a region. Note that this doesn't verify
the number is actually in use, which is impossible to tell by just looking at the number
itself.
public isValidShortNumberForRegion ( |
||
$number | The Short number for which we want to test the validity | |
$regionDialingFrom | string | the region from which the number is dialed |
return | boolean | whether the short number matches a valid pattern |