Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/SI.php
Строк: 24
<?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' => '386',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^[1-7]\d{6,7}|[89]\d{4,7}$/',
            
'fixed' => '/^(?:1\d|[25][2-8]|3[4-8]|4[24-8]|7[3-8])\d{6}$/',
            
'mobile' => '/^(?:[37][01]|4[019]|51|6[48])\d{6}$/',
            
'tollfree' => '/^80\d{4,6}$/',
            
'premium' => '/^90\d{4,6}|89[1-3]\d{2,5}$/',
            
'voip' => '/^(?:59|8[1-3])\d{6}$/',
            
'emergency' => '/^11[23]$/',
        ),
        
'possible' => array(
            
'general' => '/^\d{5,8}$/',
            
'fixed' => '/^\d{7,8}$/',
            
'mobile' => '/^\d{8}$/',
            
'tollfree' => '/^\d{6,8}$/',
            
'premium' => '/^\d{5,8}$/',
            
'voip' => '/^\d{8}$/',
            
'emergency' => '/^\d{3}$/',
        ),
    ),
);
Онлайн: 0
Реклама