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 / PH.php
blobce66d7d6f9ab021a4f4a755d0b4ba7f4bd29980b
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' => '63',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[2-9]\\d{7,9}|1800\\d{7,9}$/',
15 'fixed' => '/^(?:2|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}$/',
16 'mobile' => '/^9(?:0[5-9]|1[025-9]|2[0-36-9]|3[02-9]|4[236-9]|7[349]|89|9[49])\\d{7}$/',
17 'tollfree' => '/^1800\\d{7,9}$/',
18 'emergency' => '/^11[27]|911$/',
20 'possible' => array(
21 'general' => '/^\\d{7,13}$/',
22 'fixed' => '/^\\d{7,9}$/',
23 'mobile' => '/^\\d{10}$/',
24 'tollfree' => '/^\\d{11,13}$/',
25 'emergency' => '/^\\d{3}$/',