2023-03-11 12:04:29 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Zend Framework (http://framework.zend.com/)
|
|
|
|
*
|
|
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
2023-04-01 09:03:34 +03:00
|
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
2023-03-11 12:04:29 +03:00
|
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
|
|
|
'code' => '40',
|
|
|
|
'patterns' => array(
|
|
|
|
'national' => array(
|
|
|
|
'general' => '/^2\\d{5,8}|[37-9]\\d{8}$/',
|
|
|
|
'fixed' => '/^2(?:1(?:\\d{7}|9\\d{3})|[3-6](?:\\d{7}|\\d9\\d{2}))|3[13-6]\\d{7}$/',
|
|
|
|
'mobile' => '/^7[1-8]\\d{7}$/',
|
|
|
|
'tollfree' => '/^800\\d{6}$/',
|
|
|
|
'premium' => '/^90[036]\\d{6}$/',
|
|
|
|
'shared' => '/^801\\d{6}$/',
|
|
|
|
'personal' => '/^802\\d{6}$/',
|
|
|
|
'uan' => '/^37\\d{7}$/',
|
|
|
|
'emergency' => '/^112$/',
|
|
|
|
),
|
|
|
|
'possible' => array(
|
|
|
|
'general' => '/^\\d{6,9}$/',
|
|
|
|
'mobile' => '/^\\d{9}$/',
|
|
|
|
'tollfree' => '/^\\d{9}$/',
|
|
|
|
'premium' => '/^\\d{9}$/',
|
|
|
|
'shared' => '/^\\d{9}$/',
|
|
|
|
'personal' => '/^\\d{9}$/',
|
|
|
|
'uan' => '/^\\d{9}$/',
|
|
|
|
'emergency' => '/^\\d{3}$/',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|