PK HJ(j9J J
CONDUCT.mdnu W+A # Contributor Code of Conduct
The Zend Framework project adheres to [The Code Manifesto](http://codemanifesto.com)
as its guidelines for contributor interactions.
## The Code Manifesto
We want to work in an ecosystem that empowers developers to reach their
potential — one that encourages growth and effective collaboration. A space that
is safe for all.
A space such as this benefits everyone that participates in it. It encourages
new developers to enter our field. It is through discussion and collaboration
that we grow, and through growth that we improve.
In the effort to create such a place, we hold to these values:
1. **Discrimination limits us.** This includes discrimination on the basis of
race, gender, sexual orientation, gender identity, age, nationality, technology
and any other arbitrary exclusion of a group of people.
2. **Boundaries honor us.** Your comfort levels are not everyone’s comfort
levels. Remember that, and if brought to your attention, heed it.
3. **We are our biggest assets.** None of us were born masters of our trade.
Each of us has been helped along the way. Return that favor, when and where
you can.
4. **We are resources for the future.** As an extension of #3, share what you
know. Make yourself a resource to help those that come after you.
5. **Respect defines us.** Treat others as you wish to be treated. Make your
discussions, criticisms and debates from a position of respectfulness. Ask
yourself, is it true? Is it necessary? Is it constructive? Anything less is
unacceptable.
6. **Reactions require grace.** Angry responses are valid, but abusive language
and vindictive actions are toxic. When something happens that offends you,
handle it assertively, but be respectful. Escalate reasonably, and try to
allow the offender an opportunity to explain themselves, and possibly correct
the issue.
7. **Opinions are just that: opinions.** Each and every one of us, due to our
background and upbringing, have varying opinions. The fact of the matter, is
that is perfectly acceptable. Remember this: if you respect your own
opinions, you should respect the opinions of others.
8. **To err is human.** You might not intend it, but mistakes do happen and
contribute to build experience. Tolerate honest mistakes, and don't hesitate
to apologize if you make one yourself.
PK HJB ?
LICENSE.mdnu W+A Copyright (c) 2005-2015, Zend Technologies USA, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of Zend Technologies USA, Inc. nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PK HJN=Z Z phpcs.xmlnu W+A
src
test
src/Validator/PhoneNumber/*
*/_files/*
PK HJi README.mdnu W+A # zend-i18n
[![Build Status](https://secure.travis-ci.org/zendframework/zend-i18n.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-i18n)
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-i18n/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-i18n?branch=master)
`Zend\I18n` comes with a complete translation suite which supports all major
formats and includes popular features like plural translations and text domains.
The Translator component is mostly dependency free, except for the fallback to a
default locale, where it relies on the Intl PHP extension.
The translator itself is initialized without any parameters, as any configuration
to it is optional. A translator without any translations will actually do nothing
but just return the given message IDs.
- File issues at https://github.com/zendframework/zend-i18n/issues
- Documentation is at https://zendframework.github.io/zend-i18n/
PK HJK| | CONTRIBUTING.mdnu W+A # CONTRIBUTING
## RESOURCES
If you wish to contribute to Zend Framework, please be sure to
read/subscribe to the following resources:
- [Coding Standards](https://github.com/zendframework/zf2/wiki/Coding-Standards)
- [Contributor's Guide](http://framework.zend.com/participate/contributor-guide)
- ZF Contributor's mailing list:
Archives: http://zend-framework-community.634137.n4.nabble.com/ZF-Contributor-f680267.html
Subscribe: zf-contributors-subscribe@lists.zend.com
- ZF Contributor's IRC channel:
#zftalk.dev on Freenode.net
If you are working on new features or refactoring [create a proposal](https://github.com/zendframework/zend-i18n/issues/new).
## Reporting Potential Security Issues
If you have encountered a potential security vulnerability, please **DO NOT** report it on the public
issue tracker: send it to us at [zf-security@zend.com](mailto:zf-security@zend.com) instead.
We will work with you to verify the vulnerability and patch it as soon as possible.
When reporting issues, please provide the following information:
- Component(s) affected
- A description indicating how to reproduce the issue
- A summary of the security vulnerability and impact
We request that you contact us via the email address above and give the project
contributors a chance to resolve the vulnerability and issue a new release prior
to any public exposure; this helps protect users and provides them with a chance
to upgrade and/or update in order to protect their applications.
For sensitive email communications, please use [our PGP key](http://framework.zend.com/zf-security-pgp-key.asc).
## RUNNING TESTS
> ### Note: testing versions prior to 2.4
>
> This component originates with Zend Framework 2. During the lifetime of ZF2,
> testing infrastructure migrated from PHPUnit 3 to PHPUnit 4. In most cases, no
> changes were necessary. However, due to the migration, tests may not run on
> versions < 2.4. As such, you may need to change the PHPUnit dependency if
> attempting a fix on such a version.
To run tests:
- Clone the repository:
```console
$ git clone git@github.com:zendframework/zend-i18n.git
$ cd
```
- Install dependencies via composer:
```console
$ curl -sS https://getcomposer.org/installer | php --
$ ./composer.phar install
```
If you don't have `curl` installed, you can also download `composer.phar` from https://getcomposer.org/
- Run the tests via `phpunit` and the provided PHPUnit config, like in this example:
```console
$ ./vendor/bin/phpunit
```
You can turn on conditional tests with the phpunit.xml file.
To do so:
- Copy `phpunit.xml.dist` file to `phpunit.xml`
- Edit `phpunit.xml` to enable any specific functionality you
want to test, as well as to provide test values to utilize.
## Running Coding Standards Checks
This component uses [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) for coding
standards checks, and provides configuration for our selected checks.
`phpcs` is installed by default via Composer.
To run checks only:
```console
$ composer cs-check
```
`phpcs` also includes a tool for fixing most CS violations, `phpcbf`:
```console
$ composer cs-fix
```
If you allow `phpcbf` to fix CS issues, please re-run the tests to ensure
they pass, and make sure you add and commit the changes after verification.
## Recommended Workflow for Contributions
Your first step is to establish a public repository from which we can
pull your work into the master repository. We recommend using
[GitHub](https://github.com), as that is where the component is already hosted.
1. Setup a [GitHub account](http://github.com/), if you haven't yet
2. Fork the repository (http://github.com/zendframework/zend-i18n)
3. Clone the canonical repository locally and enter it.
```console
$ git clone git://github.com:zendframework/zend-i18n.git
$ cd zend-i18n
```
4. Add a remote to your fork; substitute your GitHub username in the command
below.
```console
$ git remote add {username} git@github.com:{username}/zend-i18n.git
$ git fetch {username}
```
### Keeping Up-to-Date
Periodically, you should update your fork or personal repository to
match the canonical ZF repository. Assuming you have setup your local repository
per the instructions above, you can do the following:
```console
$ git checkout master
$ git fetch origin
$ git rebase origin/master
# OPTIONALLY, to keep your remote up-to-date -
$ git push {username} master:master
```
If you're tracking other branches -- for example, the "develop" branch, where
new feature development occurs -- you'll want to do the same operations for that
branch; simply substitute "develop" for "master".
### Working on a patch
We recommend you do each new feature or bugfix in a new branch. This simplifies
the task of code review as well as the task of merging your changes into the
canonical repository.
A typical workflow will then consist of the following:
1. Create a new local branch based off either your master or develop branch.
2. Switch to your new local branch. (This step can be combined with the
previous step with the use of `git checkout -b`.)
3. Do some work, commit, repeat as necessary.
4. Push the local branch to your remote repository.
5. Send a pull request.
The mechanics of this process are actually quite trivial. Below, we will
create a branch for fixing an issue in the tracker.
```console
$ git checkout -b hotfix/9295
Switched to a new branch 'hotfix/9295'
```
... do some work ...
```console
$ git commit
```
... write your log message ...
```console
$ git push {username} hotfix/9295:hotfix/9295
Counting objects: 38, done.
Delta compression using up to 2 threads.
Compression objects: 100% (18/18), done.
Writing objects: 100% (20/20), 8.19KiB, done.
Total 20 (delta 12), reused 0 (delta 0)
To ssh://git@github.com/{username}/zend-i18n.git
b5583aa..4f51698 HEAD -> master
```
To send a pull request, you have two options.
If using GitHub, you can do the pull request from there. Navigate to
your repository, select the branch you just created, and then select the
"Pull Request" button in the upper right. Select the user/organization
"zendframework" as the recipient.
If using your own repository - or even if using GitHub - you can use `git
format-patch` to create a patchset for us to apply; in fact, this is
**recommended** for security-related patches. If you use `format-patch`, please
send the patches as attachments to:
- zf-devteam@zend.com for patches without security implications
- zf-security@zend.com for security patches
#### What branch to issue the pull request against?
Which branch should you issue a pull request against?
- For fixes against the stable release, issue the pull request against the
"master" branch.
- For new features, or fixes that introduce new elements to the public API (such
as new public methods or properties), issue the pull request against the
"develop" branch.
### Branch Cleanup
As you might imagine, if you are a frequent contributor, you'll start to
get a ton of branches both locally and on your remote.
Once you know that your changes have been accepted to the master
repository, we suggest doing some cleanup of these branches.
- Local branch cleanup
```console
$ git branch -d
```
- Remote branch removal
```console
$ git push {username} :
```
## Conduct
Please see our [CONDUCT.md](CONDUCT.md) to understand expected behavior when interacting with others in the project.
PK HJ` src/Exception/ParseException.phpnu W+A getFormatter()->format($value, $this->getType());
ErrorHandler::stop();
}
if (false !== $result) {
return $result;
}
return $value;
}
}
PK HJ=
src/Filter/Alnum.phpnu W+A null,
'allow_white_space' => false,
];
/**
* Sets default option values for this instance
*
* @param array|Traversable|bool|null $allowWhiteSpaceOrOptions
* @param string|null $locale
*/
public function __construct($allowWhiteSpaceOrOptions = null, $locale = null)
{
parent::__construct();
if ($allowWhiteSpaceOrOptions !== null) {
if (static::isOptions($allowWhiteSpaceOrOptions)) {
$this->setOptions($allowWhiteSpaceOrOptions);
} else {
$this->setAllowWhiteSpace($allowWhiteSpaceOrOptions);
$this->setLocale($locale);
}
}
}
/**
* Sets the allowWhiteSpace option
*
* @param bool $flag
* @return Alnum Provides a fluent interface
*/
public function setAllowWhiteSpace($flag = true)
{
$this->options['allow_white_space'] = (bool) $flag;
return $this;
}
/**
* Whether white space is allowed
*
* @return bool
*/
public function getAllowWhiteSpace()
{
return $this->options['allow_white_space'];
}
/**
* Defined by Zend\Filter\FilterInterface
*
* Returns $value as string with all non-alphanumeric characters removed
*
* @param string|array $value
* @return string|array
*/
public function filter($value)
{
if (! is_scalar($value) && ! is_array($value)) {
return $value;
}
$whiteSpace = $this->options['allow_white_space'] ? '\s' : '';
$language = Locale::getPrimaryLanguage($this->getLocale());
if (! static::hasPcreUnicodeSupport()) {
// POSIX named classes are not supported, use alternative a-zA-Z0-9 match
$pattern = '/[^a-zA-Z0-9' . $whiteSpace . ']/';
} elseif ($language == 'ja'|| $language == 'ko' || $language == 'zh') {
// Use english alphabet
$pattern = '/[^a-zA-Z0-9' . $whiteSpace . ']/u';
} else {
// Use native language alphabet
$pattern = '/[^\p{L}\p{N}' . $whiteSpace . ']/u';
}
return preg_replace($pattern, '', $value);
}
}
PK HJmFʑ src/Filter/Alpha.phpnu W+A options['allow_white_space'] ? '\s' : '';
$language = Locale::getPrimaryLanguage($this->getLocale());
if (! static::hasPcreUnicodeSupport()) {
// POSIX named classes are not supported, use alternative [a-zA-Z] match
$pattern = '/[^a-zA-Z' . $whiteSpace . ']/';
} elseif ($language == 'ja' || $language == 'ko' || $language == 'zh') {
// Use english alphabet
$pattern = '/[^a-zA-Z' . $whiteSpace . ']/u';
} else {
// Use native language alphabet
$pattern = '/[^\p{L}' . $whiteSpace . ']/u';
}
return preg_replace($pattern, '', $value);
}
}
PK HJ: src/Filter/NumberParse.phpnu W+A null,
'style' => NumberFormatter::DEFAULT_STYLE,
'type' => NumberFormatter::TYPE_DOUBLE
];
/**
* @var NumberFormatter
*/
protected $formatter = null;
/**
* @param array|Traversable|string|null $localeOrOptions
* @param int $style
* @param int $type
*/
public function __construct(
$localeOrOptions = null,
$style = NumberFormatter::DEFAULT_STYLE,
$type = NumberFormatter::TYPE_DOUBLE
) {
parent::__construct();
if ($localeOrOptions !== null) {
if ($localeOrOptions instanceof Traversable) {
$localeOrOptions = iterator_to_array($localeOrOptions);
}
if (! is_array($localeOrOptions)) {
$this->setLocale($localeOrOptions);
$this->setStyle($style);
$this->setType($type);
} else {
$this->setOptions($localeOrOptions);
}
}
}
/**
* @param string|null $locale
* @return NumberFormat
*/
public function setLocale($locale = null)
{
$this->options['locale'] = $locale;
$this->formatter = null;
return $this;
}
/**
* @param int $style
* @return NumberFormat
*/
public function setStyle($style)
{
$this->options['style'] = (int) $style;
$this->formatter = null;
return $this;
}
/**
* @return int
*/
public function getStyle()
{
return $this->options['style'];
}
/**
* @param int $type
* @return NumberFormat
*/
public function setType($type)
{
$this->options['type'] = (int) $type;
return $this;
}
/**
* @return int
*/
public function getType()
{
return $this->options['type'];
}
/**
* @param NumberFormatter $formatter
* @return NumberFormat
*/
public function setFormatter(NumberFormatter $formatter)
{
$this->formatter = $formatter;
return $this;
}
/**
* @return NumberFormatter
* @throws Exception\RuntimeException
*/
public function getFormatter()
{
if ($this->formatter === null) {
$formatter = NumberFormatter::create($this->getLocale(), $this->getStyle());
if (! $formatter) {
throw new Exception\RuntimeException(
'Can not create NumberFormatter instance; ' . intl_get_error_message()
);
}
$this->formatter = $formatter;
}
return $this->formatter;
}
/**
* Defined by Zend\Filter\FilterInterface
*
* @see Zend\Filter\FilterInterface::filter()
* @param mixed $value
* @return mixed
*/
public function filter($value)
{
if (! is_int($value)
&& ! is_float($value)
) {
ErrorHandler::start();
$result = $this->getFormatter()->parse(
$value,
$this->getType()
);
ErrorHandler::stop();
if (false !== $result) {
return $result;
}
}
return $value;
}
}
PK HJ&CNV V src/Filter/AbstractLocale.phpnu W+A options['locale'] = $locale;
return $this;
}
/**
* Returns the locale option
*
* @return string
*/
public function getLocale()
{
if (! isset($this->options['locale'])) {
$this->options['locale'] = Locale::getDefault();
}
return $this->options['locale'];
}
}
PK HJy
~ ~ src/Validator/PhoneNumber/TH.phpnu W+A '66',
'patterns' => [
'national' => [
'general' => '/^[2-9]\\d{7,8}|1\\d{3}(?:\\d{6})?$/',
'fixed' => '/^(?:2[1-9]|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}$/',
'mobile' => '/^[89]\\d{8}$/',
'tollfree' => '/^1800\\d{6}$/',
'premium' => '/^1900\\d{6}$/',
'voip' => '/^60\\d{7}$/',
'uan' => '/^1\\d{3}$/',
'emergency' => '/^1(?:669|9[19])$/',
],
'possible' => [
'general' => '/^\\d{4}|\\d{8,10}$/',
'fixed' => '/^\\d{8}$/',
'mobile' => '/^\\d{9}$/',
'tollfree' => '/^\\d{10}$/',
'premium' => '/^\\d{10}$/',
'voip' => '/^\\d{9}$/',
'uan' => '/^\\d{4}$/',
'emergency' => '/^\\d{3,4}$/',
],
],
];
PK HJ 8| | src/Validator/PhoneNumber/CR.phpnu W+A '506',
'patterns' => [
'national' => [
'general' => '/^[24-9]\\d{7,9}$/',
'fixed' => '/^2[24-7]\\d{6}$/',
'mobile' => '/^5(?:0[0-4]|7[01])\\d{5}|[67][0-2]\\d{6}|8[3-9]\\d{6}$/',
'tollfree' => '/^800\\d{7}$/',
'premium' => '/^90[059]\\d{7}$/',
'voip' => '/^210[0-6]\\d{4}|4(?:0(?:[04]0\\d{4}|10[0-3]\\d{3}|2(?:00\\d|900)\\d{2}|3[01]\\d{4}|5\\d{5}|70[01]\\d{3})|1[01]\\d{5}|400\\d{4})|5100\\d{4}$/',
'shortcode' => '/^1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|37|[46]6|75|8[79]|9[0-379])|2(?:00|[12]2|34|55)|333|400|5(?:15|5[15])|693|7(?:00|1[789]|2[02]|[67]7))$/',
'emergency' => '/^112|911$/',
],
'possible' => [
'general' => '/^\\d{8,10}$/',
'fixed' => '/^\\d{8}$/',
'mobile' => '/^\\d{8}$/',
'tollfree' => '/^\\d{10}$/',
'premium' => '/^\\d{10}$/',
'voip' => '/^\\d{8}$/',
'shortcode' => '/^\\d{4}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/ES.phpnu W+A '34',
'patterns' => [
'national' => [
'general' => '/^[5-9]\\d{8}$/',
'fixed' => '/^8(?:[13]0|[28][0-8]|[47][1-9]|5[01346-9]|6[0457-9])\\d{6}|9(?:[1238][0-8]\\d{6}|4[1-9]\\d{6}|5\\d{7}|6(?:[0-8]\\d{6}|9(?:0(?:[0-57-9]\\d{4}|6(?:0[0-8]|1[1-9]|[2-9]\\d)\\d{2})|[1-9]\\d{5}))|7(?:[124-9]\\d{2}|3(?:[0-8]\\d|9[1-9]))\\d{4})$/',
'mobile' => '/^(?:6\\d{6}|7[1-4]\\d{5}|9(?:6906(?:09|10)|7390\\d{2}))\\d{2}$/',
'tollfree' => '/^[89]00\\d{6}$/',
'premium' => '/^80[367]\\d{6}$/',
'shared' => '/^90[12]\\d{6}$/',
'personal' => '/^70\\d{7}$/',
'uan' => '/^51\\d{7}$/',
'emergency' => '/^0(?:[69][12]|8[05])|112$/',
],
'possible' => [
'general' => '/^\\d{9}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJp=ݏ src/Validator/PhoneNumber/AL.phpnu W+A '355',
'patterns' => [
'national' => [
'general' => '/^[2-57]\d{7}|6\d{8}|8\d{5,7}|9\d{5}$/',
'fixed' => '/^(?:2(?:[168][1-9]|[247]\d|9[1-7])|3(?:1[1-3]|[2-6]\d|[79][1-8]|8[1-9])|4\d{2}|5(?:1[1-4]|[2-578]\d|6[1-5]|9[1-7])|8(?:[19][1-5]|[2-6]\d|[78][1-7]))\d{5}$/',
'mobile' => '/^6[6-9]\d{7}$/',
'tollfree' => '/^800\d{4}$/',
'premium' => '/^900\d{3}$/',
'shared' => '/^808\d{3}$/',
'personal' => '/^700\d{5}$/',
'emergency' => '/^12[789]$/',
],
'possible' => [
'general' => '/^\d{5,9}$/',
'fixed' => '/^\d{5,8}$/',
'mobile' => '/^\d{9}$/',
'tollfree' => '/^\d{7}$/',
'premium' => '/^\d{6}$/',
'shared' => '/^\d{6}$/',
'personal' => '/^\d{8}$/',
'emergency' => '/^\d{3}$/',
],
],
];
PK HJ]M src/Validator/PhoneNumber/CV.phpnu W+A '238',
'patterns' => [
'national' => [
'general' => '/^[259]\\d{6}$/',
'fixed' => '/^2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}$/',
'mobile' => '/^(?:9\\d|59)\\d{5}$/',
'emergency' => '/^13[012]$/',
],
'possible' => [
'general' => '/^\\d{7}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ^A src/Validator/PhoneNumber/UZ.phpnu W+A '998',
'patterns' => [
'national' => [
'general' => '/^[679]\\d{8}$/',
'fixed' => '/^(?:6(?:1(?:22|3[124]|4[1-4]|5[123578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d{2}|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[12456]|9[135-8])|1[12]\\d|2(?:22|3[1345789]|4[123579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}$/',
'mobile' => '/^6(?:1(?:2(?:98|2[01])|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:11\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4])|7\\d{2})|5(?:19[01]|2(?:27|9[26])|30\\d|59\\d|7\\d{2})|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|3[79]\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79])|9[0-3]\\d)|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(2(?:1[1267]|5\\d|3[01]|7[0-4])|5[67]\\d|6(?:2[0-26]|8\\d)|7\\d{2}))\\d{4}|7(?:0\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|33\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078])|9[4-6]\\d)|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0127]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[05629]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))\\d{4}|9[0-57-9]\\d{7}$/',
'emergency' => '/^0(?:0[123]|[123]|50)$/',
],
'possible' => [
'general' => '/^\\d{7,9}$/',
'emergency' => '/^\\d{2,3}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/TM.phpnu W+A '993',
'patterns' => [
'national' => [
'general' => '/^[1-6]\\d{7}$/',
'fixed' => '/^(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}$/',
'mobile' => '/^6[3-8]\\d{6}$/',
'emergency' => '/^0[1-3]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{2}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/VN.phpnu W+A '84',
'patterns' => [
'national' => [
'general' => '/^[17]\\d{6,9}|[2-69]\\d{7,9}|8\\d{6,8}$/',
'fixed' => '/^(?:2(?:[025-79]|1[0189]|[348][01])|3(?:[0136-9]|[25][01])|4\\d|5(?:[01][01]|[2-9])|6(?:[0-46-8]|5[01])|7(?:[02-79]|[18][01])|8[1-9])\\d{7}$/',
'mobile' => '/^(?:9\\d|1(?:2\\d|6[2-9]|8[68]|99))\\d{7}$/',
'tollfree' => '/^1800\\d{4,6}$/',
'premium' => '/^1900\\d{4,6}$/',
'uan' => '/^[17]99\\d{4}|69\\d{5,6}|80\\d{5}$/',
'emergency' => '/^11[345]$/',
],
'possible' => [
'general' => '/^\\d{7,10}$/',
'fixed' => '/^\\d{9,10}$/',
'mobile' => '/^\\d{9,10}$/',
'tollfree' => '/^\\d{8,10}$/',
'premium' => '/^\\d{8,10}$/',
'uan' => '/^\\d{7,8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJN src/Validator/PhoneNumber/QA.phpnu W+A '974',
'patterns' => [
'national' => [
'general' => '/^[2-8]\\d{6,7}$/',
'fixed' => '/^4[04]\\d{6}$/',
'mobile' => '/^[3567]\\d{7}$/',
'pager' => '/^2(?:[12]\\d|61)\\d{4}$/',
'tollfree' => '/^800\\d{4}$/',
'shortcode' => '/^(?:1|20|9[27]\\d)\\d{2}$/',
'emergency' => '/^999$/',
],
'possible' => [
'general' => '/^\\d{7,8}$/',
'pager' => '/^\\d{7}$/',
'shortcode' => '/^\\d{3,4}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJBC% src/Validator/PhoneNumber/LB.phpnu W+A '961',
'patterns' => [
'national' => [
'general' => '/^[13-9]\\d{6,7}$/',
'fixed' => '/^(?:[14-6]\\d{2}|7(?:[2-579]\\d|62|8[0-7])|[89][2-9]\\d)\\d{4}$/',
'mobile' => '/^(?:3\\d|7(?:[01]\\d|6[013-9]|8[89]|91))\\d{5}$/',
'premium' => '/^9[01]\\d{6}$/',
'shared' => '/^8[01]\\d{6}$/',
'emergency' => '/^1(?:12|40|75)|999$/',
],
'possible' => [
'general' => '/^\\d{7,8}$/',
'fixed' => '/^\\d{7}$/',
'mobile' => '/^\\d{7,8}$/',
'premium' => '/^\\d{8}$/',
'shared' => '/^\\d{8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ@ src/Validator/PhoneNumber/BI.phpnu W+A '257',
'patterns' => [
'national' => [
'general' => '/^[27]\\d{7}$/',
'fixed' => '/^22(?:2[0-7]|[3-5]0)\\d{4}$/',
'mobile' => '/^(?:29\\d|7(?:1[1-3]|[4-9]\\d))\\d{5}$/',
'emergency' => '/^11[78]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ. src/Validator/PhoneNumber/CM.phpnu W+A '237',
'patterns' => [
'national' => [
'general' => '/^[237-9]\\d{7}$/',
'fixed' => '/^(?:22|33)\\d{6}$/',
'mobile' => '/^[79]\\d{7}$/',
'tollfree' => '/^800\\d{5}$/',
'premium' => '/^88\\d{6}$/',
'emergency' => '/^1?1[37]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{2,3}$/',
],
],
];
PK HJI& & src/Validator/PhoneNumber/ML.phpnu W+A '223',
'patterns' => [
'national' => [
'general' => '/^[246-8]\\d{7}$/',
'fixed' => '/^(?:2(?:0(?:2[0-589]|7[027-9])|1(?:2[5-7]|[3-689]\\d))|44[239]\\d)\\d{4}$/',
'mobile' => '/^(?:6[3569]|7\\d)\\d{6}$/',
'tollfree' => '/^800\\d{5}$/',
'emergency' => '/^1[578]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{2}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/BQ.phpnu W+A '599',
'patterns' => [
'national' => [
'general' => '/^[347]\\d{6}$/',
'fixed' => '/^(?:318[023]|416[0239]|7(?:1[578]|50)\\d)\\d{3}$/',
'mobile' => '/^(?:318[1456]|416[15-8]|7(?:0[01]|[89]\\d)\\d)\\d{3}|$/',
'emergency' => '/^112|911$/',
],
'possible' => [
'general' => '/^\\d{7}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ# src/Validator/PhoneNumber/HN.phpnu W+A '504',
'patterns' => [
'national' => [
'general' => '/^[237-9]\\d{7}$/',
'fixed' => '/^2(?:2(?:0[019]|1[1-36]|[23]\\d|4[056]|5[57]|8[0146-9]|9[012])|4(?:2|3-59]|3[13-689]|4[0-68]|5[1-35])|5(?:4[3-5]|5\\d|6[56]|74)|6(?:4[0-378]|[56]\\d|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[34])|8(?:79|8[0-35789]|9[1-57-9]))\\d{4}$/',
'mobile' => '/^[37-9]\\d{7}$/',
'emergency' => '/^199$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ6` src/Validator/PhoneNumber/BY.phpnu W+A '375',
'patterns' => [
'national' => [
'general' => '/^[1-4]\\d{8}|[89]\\d{9,10}$/',
'fixed' => '/^(?:1(?:5(?:1[1-5]|2\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d{2})|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:2\\d|3[02-79]|4[024-7]|5[0-7])))\\d{5}$/',
'mobile' => '/^(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}$/',
'tollfree' => '/^8(?:0[13]|20\\d)\\d{7}$/',
'premium' => '/^(?:810|902)\\d{7}$/',
'emergency' => '/^1(?:0[123]|12)$/',
],
'possible' => [
'general' => '/^\\d{7,11}$/',
'fixed' => '/^\\d{7,9}$/',
'mobile' => '/^\\d{9}$/',
'tollfree' => '/^\\d{10,11}$/',
'premium' => '/^\\d{10}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ2+W src/Validator/PhoneNumber/LS.phpnu W+A '266',
'patterns' => [
'national' => [
'general' => '/^[2568]\\d{7}$/',
'fixed' => '/^2\\d{7}$/',
'mobile' => '/^[56]\\d{7}$/',
'tollfree' => '/^800[256]\\d{4}$/',
'emergency' => '/^11[257]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJW src/Validator/PhoneNumber/NF.phpnu W+A '672',
'patterns' => [
'national' => [
'general' => '/^[13]\\d{5}$/',
'fixed' => '/^(?:1(?:06|17|28|39)|3[012]\\d)\\d{3}$/',
'mobile' => '/^38\\d{4}$/',
'emergency' => '/^9(?:11|55|77)$/',
],
'possible' => [
'general' => '/^\\d{5,6}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJEf src/Validator/PhoneNumber/EE.phpnu W+A '372',
'patterns' => [
'national' => [
'general' => '/^1\\d{3,4}|[3-9]\\d{6,7}|800\\d{6,7}$/',
'fixed' => '/^(?:3[23589]|4(?:0\\d|[3-8])|6\\d|7[1-9]|88)\\d{5}$/',
'mobile' => '/^(?:5\\d|8[1-5])\\d{6}|5(?:[02]\\d{2}|1(?:[0-8]\\d|95)|5[0-478]\\d|64[0-4]|65[1-589])\\d{3}$/',
'tollfree' => '/^800(?:0\\d{3}|1\\d|[2-9])\\d{3}$/',
'premium' => '/^900\\d{4}$/',
'personal' => '/^70[0-2]\\d{5}$/',
'uan' => '/^1(?:2[01245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[012])\\d{1,2}$/',
'shortcode' => '/^1(?:1[13-9]|[2-9]\\d)$/',
'emergency' => '/^11[02]$/',
],
'possible' => [
'general' => '/^\\d{4,10}$/',
'fixed' => '/^\\d{7,8}$/',
'mobile' => '/^\\d{7,8}$/',
'tollfree' => '/^\\d{7,10}$/',
'premium' => '/^\\d{7}$/',
'personal' => '/^\\d{8}$/',
'uan' => '/^\\d{4,5}$/',
'shortcode' => '/^\\d{3}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJE+ src/Validator/PhoneNumber/SO.phpnu W+A '252',
'patterns' => [
'national' => [
'general' => '/^[1-79]\\d{6,8}$/',
'fixed' => '/^(?:[134]\\d|2[0-79]|5[57-9])\\d{5}$/',
'mobile' => '/^(?:15\\d|2(?:4\\d|8)|6[17-9]?\\d{2}|7\\d{2}|9[01]\\d)\\d{5}$/',
],
'possible' => [
'general' => '/^\\d{7,9}$/',
'fixed' => '/^\\d{7}$/',
],
],
];
PK HJ2ZG src/Validator/PhoneNumber/LT.phpnu W+A '370',
'patterns' => [
'national' => [
'general' => '/^[3-9]\\d{7}$/',
'fixed' => '/^(?:3[1478]|4[124-6]|52)\\d{6}$/',
'mobile' => '/^6\\d{7}$/',
'tollfree' => '/^800\\d{5}$/',
'premium' => '/^9(?:0[0239]|10)\\d{5}$/',
'personal' => '/^700\\d{5}$/',
'shared' => '/^808\\d{5}$/',
'uan' => '/^70[67]\\d{5}$/',
'emergency' => '/^0(?:11?|22?|33?)|1(?:0[123]|12)$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{2,3}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/VA.phpnu W+A '379',
'patterns' => [
'national' => [
'general' => '/^06\\d{8}$/',
'fixed' => '/^06698\\d{5}$/',
'mobile' => '/^N/A$/',
'emergency' => '/^11[2358]$/',
],
'possible' => [
'general' => '/^\\d{10}$/',
'mobile' => '/^N/A$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ
; ; src/Validator/PhoneNumber/EH.phpnu W+A '212',
'patterns' => [
'national' => [
'general' => '/^[5689]\\d{8}$/',
'fixed' => '/^528[89]\\d{5}$/',
'mobile' => '/^6(?:0[0-6]|[14-7]\\d|2[2-46-9]|3[03-8]|8[01]|99)\\d{6}$/',
'tollfree' => '/^80\\d{7}$/',
'premium' => '/^89\\d{7}$/',
'emergency' => '/^1(?:[59]|77)$/',
],
'possible' => [
'general' => '/^\\d{9}$/',
'emergency' => '/^\\d{2,3}$/',
],
],
];
PK HJG src/Validator/PhoneNumber/SK.phpnu W+A '421',
'patterns' => [
'national' => [
'general' => '/^[2-689]\\d{8}$/',
'fixed' => '/^[2-5]\\d{8}$/',
'mobile' => '/^9(?:0[1-8]|1[0-24-9]|4[0489])\\d{6}$/',
'tollfree' => '/^800\\d{6}$/',
'premium' => '/^9(?:[78]\\d{7}|00\\d{6})$/',
'shared' => '/^8[5-9]\\d{7}$/',
'voip' => '/^6(?:5[0-4]|9[0-6])\\d{6}$/',
'uan' => '/^96\\d{7}$/',
'emergency' => '/^1(?:12|5[058])$/',
],
'possible' => [
'general' => '/^\\d{9}$/',
'uan' => '/^\\d{9}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ*2 src/Validator/PhoneNumber/FJ.phpnu W+A '679',
'patterns' => [
'national' => [
'general' => '/^[36-9]\\d{6}|0\\d{10}$/',
'fixed' => '/^(?:3[0-5]|6[25-7]|8[58])\\d{5}$/',
'mobile' => '/^(?:7[0-467]|8[367]|9[02346-9])\\d{5}$/',
'tollfree' => '/^0800\\d{7}$/',
'shortcode' => '/^0(?:04|1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|[45]4|75|913$/',
'emergency' => '/^91[17]$/',
],
'possible' => [
'general' => '/^\\d{7}(?:\\d{4})?$/',
'fixed' => '/^\\d{7}$/',
'mobile' => '/^\\d{7}$/',
'tollfree' => '/^\\d{11}$/',
'shortcode' => '/^\\d{2,3}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ|U src/Validator/PhoneNumber/SG.phpnu W+A '65',
'patterns' => [
'national' => [
'general' => '/^[36]\\d{7}|[17-9]\\d{7,10}$/',
'fixed' => '/^6[1-9]\\d{6}$/',
'mobile' => '/^(?:8[1-7]|9[0-8])\\d{6}$/',
'tollfree' => '/^1?800\\d{7}$/',
'premium' => '/^1900\\d{7}$/',
'voip' => '/^3[12]\\d{6}$/',
'uan' => '/^7000\\d{7}$/',
'shortcode' => '/^1(?:[0136]\\d{2}|[89](?:[1-9]\\d|0[1-9])|[57]\\d{2,3})|99[0246-8]$/',
'emergency' => '/^99[359]$/',
],
'possible' => [
'general' => '/^\\d{8,11}$/',
'fixed' => '/^\\d{8}$/',
'mobile' => '/^\\d{8}$/',
'tollfree' => '/^\\d{10,11}$/',
'premium' => '/^\\d{11}$/',
'voip' => '/^\\d{8}$/',
'uan' => '/^\\d{11}$/',
'shortcode' => '/^\\d{3,5}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ7n src/Validator/PhoneNumber/AG.phpnu W+A '1',
'patterns' => [
'national' => [
'general' => '/^[2589]\d{9}$/',
'fixed' => '/^268(?:4(?:6[0-38]|84)|56[0-2])\d{4}$/',
'mobile' => '/^268(?:464|7(?:2[0-9]|64|7[0-689]|8[02-68]))\d{4}$/',
'pager' => '/^26840[69]\d{4}$/',
'tollfree' => '/^8(?:00|55|66|77|88)[2-9]\d{6}$/',
'premium' => '/^900[2-9]\d{6}$/',
'personal' => '/^5(?:00|33|44)[2-9]\d{6}$/',
'voip' => '/^26848[01]\d{4}$/',
'emergency' => '/^9(?:11|99)$/',
],
'possible' => [
'general' => '/^\d{7}(?:\d{3})?$/',
'mobile' => '/^\d{10}$/',
'pager' => '/^\d{10}$/',
'tollfree' => '/^\d{10}$/',
'premium' => '/^\d{10}$/',
'personal' => '/^\d{10}$/',
'voip' => '/^\d{10}$/',
'emergency' => '/^\d{3}$/',
],
],
];
PK HJG src/Validator/PhoneNumber/SR.phpnu W+A '597',
'patterns' => [
'national' => [
'general' => '/^[2-8]\\d{5,6}$/',
'fixed' => '/^(?:2[1-3]|3[0-7]|4\\d|5[2-58]|68\\d)\\d{4}$/',
'mobile' => '/^(?:7[1-57]|8[1-9])\\d{5}$/',
'voip' => '/^56\\d{4}$/',
'shortcode' => '/^1(?:[02-9]\\d|1[0-46-9]|\\d{3})$/',
'emergency' => '/^115$/',
],
'possible' => [
'general' => '/^\\d{6,7}$/',
'mobile' => '/^\\d{7}$/',
'voip' => '/^\\d{6}$/',
'shortcode' => '/^\\d{3,4}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/BG.phpnu W+A '359',
'patterns' => [
'national' => [
'general' => '/^[23567]\\d{5,7}|[489]\\d{6,8}$/',
'fixed' => '/^2(?:[0-8]\\d{5,6}|9\\d{4,6})|(?:[36]\\d|5[1-9]|8[1-6]|9[1-7])\\d{5,6}|(?:4(?:[124-7]\\d|3[1-6])|7(?:0[1-9]|[1-9]\\d))\\d{4,5}$/',
'mobile' => '/^(?:8[7-9]|98)\\d{7}|4(?:3[0789]|8\\d)\\d{5}$/',
'tollfree' => '/^800\\d{5}$/',
'premium' => '/^90\\d{6}$/',
'personal' => '/^700\\d{5}$/',
'emergency' => '/^1(?:12|50|6[06])$/',
],
'possible' => [
'general' => '/^\\d{5,9}$/',
'fixed' => '/^\\d{5,8}$/',
'mobile' => '/^\\d{8,9}$/',
'tollfree' => '/^\\d{8}$/',
'premium' => '/^\\d{8}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ src/Validator/PhoneNumber/NG.phpnu W+A '234',
'patterns' => [
'national' => [
'general' => '/^[1-69]\\d{5,8}|[78]\\d{5,13}$/',
'fixed' => '/^[12]\\d{6,7}|9\\d{7}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}$/',
'mobile' => '/^(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[3-9]\\d|2[1-9])|8(?:0[2-9]|1\\d)\\d)\\d{6}$/',
'tollfree' => '/^800\\d{7,11}$/',
'uan' => '/^700\\d{7,11}$/',
'emergency' => '/^199$/',
],
'possible' => [
'general' => '/^\\d{5,14}$/',
'fixed' => '/^\\d{5,9}$/',
'mobile' => '/^\\d{8,10}$/',
'tollfree' => '/^\\d{10,14}$/',
'uan' => '/^\\d{10,14}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJuQ8 8 src/Validator/PhoneNumber/KZ.phpnu W+A '7',
'patterns' => [
'national' => [
'general' => '/^(?:33\\d|7\\d{2}|80[09])\\d{7}$/',
'fixed' => '/^33622\\d{5}|7(?:1(?:0(?:[23]\\d|4[023]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[1-79]|4[0-35-9]|59)|4(?:2\\d|3[013-79]|4[0-8]|5[1-79])|5(?:2\\d|3[1-8]|4[1-7]|59)|6(?:[234]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[234]\\d|5[139])|4(?:2\\d|3[1235-9]|59)|5(?:[23]\\d|4[01246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[237]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}$/',
'mobile' => '/^7(?:0[01257]|6[02-4]|7[1578]|85)\\d{7}$/',
'tollfree' => '/^800\\d{7}$/',
'premium' => '/^809\\d{7}$/',
'voip' => '/^751\\d{7}$/',
'emergency' => '/^1(?:0[123]|12)$/',
],
'possible' => [
'general' => '/^\\d{10}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ^' ' src/Validator/PhoneNumber/KG.phpnu W+A '996',
'patterns' => [
'national' => [
'general' => '/^[35-8]\\d{8,9}$/',
'fixed' => '/^(?:3(?:1(?:2\\d|3[1-9]|47|5[02]|6[1-8])|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6[0-4])|5(?:22|3[4-7]|59|6[0-5])|6(?:22|5[35-7]|6[0-3])|7(?:22|3[468]|4[1-9]|59|6\\d|7[5-7])|9(?:22|4[1-8]|6[0-8]))|6(?:09|12|2[2-4])\\d)\\d{5}$/',
'mobile' => '/^5[124-7]\\d{7}|7(?:0[0-357-9]|7\\d)\\d{6}$/',
'tollfree' => '/^800\\d{6,7}$/',
'emergency' => '/^10[123]$/',
],
'possible' => [
'general' => '/^\\d{5,10}$/',
'mobile' => '/^\\d{9}$/',
'tollfree' => '/^\\d{9,10}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ0{ src/Validator/PhoneNumber/GI.phpnu W+A '350',
'patterns' => [
'national' => [
'general' => '/^[2568]\\d{7}$/',
'fixed' => '/^2(?:00\\d|16[0-7]|22[2457])\\d{4}$/',
'mobile' => '/^(?:5[4-8]|60)\\d{6}$/',
'tollfree' => '/^80\\d{6}$/',
'premium' => '/^8[1-689]\\d{6}$/',
'shared' => '/^87\\d{6}$/',
'shortcode' => '/^1(?:00|1(?:6(?:00[06]|11[17])|8\\d{2})|23|4(?:1|7[014])|5[015]|9[34])|8(?:00|4[0-2]|8\\d)$/',
'emergency' => '/^1(?:12|9[09])$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'shortcode' => '/^\\d{3,6}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ| | src/Validator/PhoneNumber/WS.phpnu W+A '685',
'patterns' => [
'national' => [
'general' => '/^[2-8]\\d{4,6}$/',
'fixed' => '/^(?:[2-5]\\d|6[1-9]|84\\d{2})\\d{3}$/',
'mobile' => '/^(?:60|7[25-7]\\d)\\d{4}$/',
'tollfree' => '/^800\\d{3}$/',
'emergency' => '/^99[4-6]$/',
],
'possible' => [
'general' => '/^\\d{5,7}$/',
'fixed' => '/^\\d{5,7}$/',
'mobile' => '/^\\d{6,7}$/',
'tollfree' => '/^\\d{6}$/',
'emergency' => '/^\\d{3}$/',
],
],
];
PK HJ;r src/Validator/PhoneNumber/TD.phpnu W+A '235',
'patterns' => [
'national' => [
'general' => '/^[2679]\\d{7}$/',
'fixed' => '/^22(?:[3789]0|5[0-5]|6[89])\\d{4}$/',
'mobile' => '/^(?:6[36]\\d|77\\d|9(?:5[0-4]|9\\d))\\d{5}$/',
'emergency' => '/^1[78]$/',
],
'possible' => [
'general' => '/^\\d{8}$/',
'emergency' => '/^\\d{2}$/',
],
],
];
PK HJ