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' => '233',
|
|
|
|
'patterns' => array(
|
|
|
|
'national' => array(
|
|
|
|
'general' => '/^[235]\\d{8}|8\\d{7}$/',
|
|
|
|
'fixed' => '/^3(?:0[237]\\d|[167](?:2[0-6]|7\\d)|2(?:2[0-5]|7\\d)|3(?:2[0-3]|7\\d)|4(?:2[013-9]|3[01]|7\\d)|5(?:2[0-7]|7\\d)|8(?:2[0-2]|7\\d)|9(?:20|7\\d))\\d{5}$/',
|
|
|
|
'mobile' => '/^(?:2[034678]|5[047])\\d{7}$/',
|
|
|
|
'tollfree' => '/^800\\d{5}$/',
|
|
|
|
'emergency' => '/^19[123]|999$/',
|
|
|
|
),
|
|
|
|
'possible' => array(
|
|
|
|
'general' => '/^\\d{7,9}$/',
|
|
|
|
'fixed' => '/^\\d{7,9}$/',
|
|
|
|
'mobile' => '/^\\d{9}$/',
|
|
|
|
'tollfree' => '/^\\d{8}$/',
|
|
|
|
'emergency' => '/^\\d{3}$/',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|