mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
35 lines
1.1 KiB
PHP
35 lines
1.1 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' => '51',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^[14-9]\\d{7,8}$/',
|
|
'fixed' => '/^(?:1\\d|4[1-4]|5[1-46]|6[1-7]|7[2-46]|8[2-4])\\d{6}$/',
|
|
'mobile' => '/^9\\d{8}$/',
|
|
'tollfree' => '/^800\\d{5}$/',
|
|
'premium' => '/^805\\d{5}$/',
|
|
'shared' => '/^801\\d{5}$/',
|
|
'personal' => '/^80[24]\\d{5}$/',
|
|
'emergency' => '/^1(?:05|1[67])$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{6,9}$/',
|
|
'fixed' => '/^\\d{6,8}$/',
|
|
'mobile' => '/^\\d{9}$/',
|
|
'tollfree' => '/^\\d{8}$/',
|
|
'premium' => '/^\\d{8}$/',
|
|
'shared' => '/^\\d{8}$/',
|
|
'personal' => '/^\\d{8}$/',
|
|
'emergency' => '/^\\d{3}$/',
|
|
),
|
|
),
|
|
);
|