Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/AM.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' => '374',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^[1-9]d{7}$/',
            
'fixed' => '/^(?:10d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47d)d{5}$/',
            
'mobile' => '/^(?:55|77|9[1-9])d{6}$/',
            
'tollfree' => '/^800d{5}$/',
            
'premium' => '/^90[016]d{5}$/',
            
'shared' => '/^80[1-4]d{5}$/',
            
'voip' => '/^60[2-6]d{5}$/',
            
'shortcode' => '/^8[1-7]d{2}|1(?:0[04-9]|[1-9]d)$/',
            
'emergency' => '/^10[123]$/',
        ),
        
'possible' => array(
            
'general' => '/^d{5,8}$/',
            
'mobile' => '/^d{8}$/',
            
'tollfree' => '/^d{8}$/',
            
'premium' => '/^d{8}$/',
            
'shared' => '/^d{8}$/',
            
'voip' => '/^d{8}$/',
            
'shortcode' => '/^d{3,4}$/',
            
'emergency' => '/^d{3}$/',
        ),
    ),
);
Онлайн: 1
Реклама