Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / I18n / Validator / PhoneNumber / CN.php
blob0553e6d1d7ae15bf4fec7dca9b41c99e3a4bb8b8
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-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 return array(
11 'code' => '86',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[1-7]\\d{7,11}|8[0-357-9]\\d{6,9}|9(?:5\\d{3}|\\d{9})$/',
15 'fixed' => '/^21\\d{8,10}|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|898)\\d{8}|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))\\d{7}|80(?:29|6[03578]|7[018]|81)\\d{4}$/',
16 'mobile' => '/^1(?:3\\d|4[57]|[58][0-35-9])\\d{8}$/',
17 'tollfree' => '/^(?:10)?800\\d{7}$/',
18 'premium' => '/^16[08]\\d{5}$/',
19 'shared' => '/^400\\d{7}|95\\d{3}$/',
20 'emergency' => '/^1(?:1[09]|20)$/',
22 'possible' => array(
23 'general' => '/^\\d{4,12}$/',
24 'mobile' => '/^\\d{11}$/',
25 'tollfree' => '/^\\d{10,12}$/',
26 'premium' => '/^\\d{8}$/',
27 'shared' => '/^\\d{5}(?:\\d{5})?$/',
28 'emergency' => '/^\\d{3}$/',