upgrade zend (#1559)
[openemr.git] / vendor / zendframework / zend-i18n / src / Validator / PhoneNumber / AR.php
blobb899a490c5338dca4b13b7dd43e47bef7ef65591
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' => '54',
12 'patterns' => [
13 'national' => [
14 'general' => '/^[1-368]\d{9}|9\d{10}$/',
15 'fixed' => '/^11\d{8}|(?:2(?:2(?:[013]\d|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[067]\d)|4(?:7[3-8]|9\d)|6(?:[01346]\d|2[24-6]|5[15-8])|80\d|9(?:[0124789]\d|3[1-6]|5[234]|6[2-46]))|3(?:3(?:2[79]|6\d|8[2578])|4(?:[78]\d|0[0124-9]|[1-35]\d|4[24-7]|6[02-9]|9[123678])|5(?:[138]\d|2[1245]|4[1-9]|6[2-4]|7[1-6])|6[24]\d|7(?:[0469]\d|1[1568]|2[013-9]|3[145]|5[14-8]|7[2-57]|8[0-24-9])|8(?:[013578]\d|2[15-7]|4[13-6]|6[1-357-9]|9[124]))|670\d)\d{6}$/',
16 'mobile' => '/^675\d{7}|9(?:11[2-9]\d{7}|(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))[2-9]\d{6}|\d{4}[2-9]\d{5})$/',
17 'tollfree' => '/^800\d{7}$/',
18 'premium' => '/^60[04579]\d{7}$/',
19 'uan' => '/^810\d{7}$/',
20 'shortcode' => '/^1(?:0[2356]|1[02-5]|21)$/',
21 'emergency' => '/^1(?:0[017]|28)$/',
23 'possible' => [
24 'general' => '/^\d{6,11}$/',
25 'fixed' => '/^\d{6,10}$/',
26 'mobile' => '/^\d{6,11}$/',
27 'tollfree' => '/^\d{10}$/',
28 'premium' => '/^\d{10}$/',
29 'uan' => '/^\d{10}$/',
30 'shortcode' => '/^\d{3}$/',
31 'emergency' => '/^\d{3}$/',