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' => '82',
|
|
|
|
'patterns' => array(
|
|
|
|
'national' => array(
|
|
|
|
'general' => '/^[1-7]\\d{3,9}|8\\d{8}$/',
|
|
|
|
'fixed' => '/^(?:2|[34][1-3]|5[1-5]|6[1-4])(?:1\\d{2,3}|[2-9]\\d{6,7})$/',
|
|
|
|
'mobile' => '/^1[0-25-9]\\d{7,8}$/',
|
|
|
|
'tollfree' => '/^80\\d{7}$/',
|
|
|
|
'premium' => '/^60[2-9]\\d{6}$/',
|
|
|
|
'personal' => '/^50\\d{8}$/',
|
|
|
|
'voip' => '/^70\\d{8}$/',
|
|
|
|
'uan' => '/^1(?:5(?:44|66|77|88|99)|6(?:00|44|6[16]|70|88))\\d{4}$/',
|
|
|
|
'emergency' => '/^11[29]$/',
|
|
|
|
),
|
|
|
|
'possible' => array(
|
|
|
|
'general' => '/^\\d{4,10}$/',
|
|
|
|
'fixed' => '/^\\d{4,10}$/',
|
|
|
|
'mobile' => '/^\\d{9,10}$/',
|
|
|
|
'tollfree' => '/^\\d{9}$/',
|
|
|
|
'premium' => '/^\\d{9}$/',
|
|
|
|
'personal' => '/^\\d{10}$/',
|
|
|
|
'voip' => '/^\\d{10}$/',
|
|
|
|
'uan' => '/^\\d{8}$/',
|
|
|
|
'emergency' => '/^\\d{3}$/',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|