upgrade zend (#1559)
[openemr.git] / vendor / zendframework / zend-i18n / src / Validator / PhoneNumber / SI.php
blob82863579d5c8a2ccf46eefe8c92a8c6b10df5615
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 return [
11 'code' => '386',
12 'patterns' => [
13 'national' => [
14 'general' => '/^[1-7]\\d{6,7}|[89]\\d{4,7}$/',
15 'fixed' => '/^(?:1\\d|[25][2-8]|3[4-8]|4[24-8]|7[3-8])\\d{6}$/',
16 'mobile' => '/^(?:[37][01]|4[019]|51|6[48])\\d{6}$/',
17 'tollfree' => '/^80\\d{4,6}$/',
18 'premium' => '/^90\\d{4,6}|89[1-3]\\d{2,5}$/',
19 'voip' => '/^(?:59|8[1-3])\\d{6}$/',
20 'emergency' => '/^11[23]$/',
22 'possible' => [
23 'general' => '/^\\d{5,8}$/',
24 'fixed' => '/^\\d{7,8}$/',
25 'mobile' => '/^\\d{8}$/',
26 'tollfree' => '/^\\d{6,8}$/',
27 'premium' => '/^\\d{5,8}$/',
28 'voip' => '/^\\d{8}$/',
29 'emergency' => '/^\\d{3}$/',