Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/PT.php
Строк: 26
<?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' => '351',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^[2-46-9]\d{8}$/',
            
'fixed' => '/^2(?:[12]\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\d{6}$/',
            
'mobile' => '/^9(?:[136]\d{2}|2[0-79]\d|480)\d{5}$/',
            
'tollfree' => '/^80[02]\d{6}$/',
            
'premium' => '/^76(?:0[1-57]|1[2-47]|2[237])\d{5}$/',
            
'shared' => '/^80(?:8\d|9[1579])\d{5}$/',
            
'personal' => '/^884[128]\d{5}$/',
            
'voip' => '/^30\d{7}$/',
            
'uan' => '/^70(?:7\d|8[17])\d{5}$/',
            
'emergency' => '/^112$/',
        ),
        
'possible' => array(
            
'general' => '/^\d{9}$/',
            
'emergency' => '/^\d{3}$/',
        ),
    ),
);
Онлайн: 3
Реклама