mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Zend Framework (http://framework.zend.com/)
|
|
*
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @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}$/',
|
|
),
|
|
),
|
|
);
|