mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
32 lines
1.1 KiB
PHP
32 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-2014 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
*/
|
|
|
|
return array(
|
|
'code' => '36',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^[1-9]\\d{7,8}$/',
|
|
'fixed' => '/^(?:1\\d|2(?:1\\d|[2-9])|3[2-7]|4[24-9]|5[2-79]|6[23689]|7(?:1\\d|[2-9])|8[2-57-9]|9[2-69])\\d{6}$/',
|
|
'mobile' => '/^(?:[27]0|3[01])\\d{7}$/',
|
|
'tollfree' => '/^80\\d{6}$/',
|
|
'premium' => '/^9[01]\\d{6}$/',
|
|
'shared' => '/^40\\d{6}$/',
|
|
'emergency' => '/^1(?:0[457]|12)$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{6,9}$/',
|
|
'mobile' => '/^\\d{9}$/',
|
|
'tollfree' => '/^\\d{8}$/',
|
|
'premium' => '/^\\d{8}$/',
|
|
'shared' => '/^\\d{8}$/',
|
|
'emergency' => '/^\\d{3}$/',
|
|
),
|
|
),
|
|
);
|