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' => '56',
|
|
|
|
'patterns' => array(
|
|
|
|
'national' => array(
|
|
|
|
'general' => '/^(?:[2-9]|600|123)\\d{7,8}$/',
|
|
|
|
'fixed' => '/^(?:[23]2|41|58)\\d{7}|(?:3[3-5]|4[235]|5[1-357]|6[13-57]|7[1-35])\\d{6,7}$/',
|
|
|
|
'mobile' => '/^9[5-9]\\d{7}$/',
|
|
|
|
'tollfree' => '/^800\\d{6}|1230\\d{7}$/',
|
|
|
|
'shared' => '/^600\\d{7,8}$/',
|
|
|
|
'voip' => '/^44\\d{7}$/',
|
|
|
|
'emergency' => '/^13[123]$/',
|
|
|
|
),
|
|
|
|
'possible' => array(
|
|
|
|
'general' => '/^\\d{6,11}$/',
|
|
|
|
'fixed' => '/^\\d{6,9}$/',
|
|
|
|
'mobile' => '/^\\d{8,9}$/',
|
|
|
|
'tollfree' => '/^\\d{9,11}$/',
|
|
|
|
'shared' => '/^\\d{10,11}$/',
|
|
|
|
'voip' => '/^\\d{9}$/',
|
|
|
|
'emergency' => '/^\\d{3}$/',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|