mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
28 lines
911 B
PHP
28 lines
911 B
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' => '687',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^[2-47-9]\\d{5}$/',
|
|
'fixed' => '/^(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}$/',
|
|
'mobile' => '/^(?:[79]\\d|8[0-79])\\d{4}$/',
|
|
'premium' => '/^36\\d{4}$/',
|
|
'shortcode' => '/^10(?:0[06]|1[02-46]|20|3[0125]|42|5[058]|77)$/',
|
|
'emergency' => '/^1[5-8]$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{6}$/',
|
|
'shortcode' => '/^\\d{4}$/',
|
|
'emergency' => '/^\\d{2}$/',
|
|
),
|
|
),
|
|
);
|