Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/RO.php
Строк: 28
<?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' => '40',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^2\d{5,8}|[37-9]\d{8}$/',
            
'fixed' => '/^2(?:1(?:\d{7}|9\d{3})|[3-6](?:\d{7}|\d9\d{2}))|3[13-6]\d{7}$/',
            
'mobile' => '/^7[1-8]\d{7}$/',
            
'tollfree' => '/^800\d{6}$/',
            
'premium' => '/^90[036]\d{6}$/',
            
'shared' => '/^801\d{6}$/',
            
'personal' => '/^802\d{6}$/',
            
'uan' => '/^37\d{7}$/',
            
'emergency' => '/^112$/',
        ),
        
'possible' => array(
            
'general' => '/^\d{6,9}$/',
            
'mobile' => '/^\d{9}$/',
            
'tollfree' => '/^\d{9}$/',
            
'premium' => '/^\d{9}$/',
            
'shared' => '/^\d{9}$/',
            
'personal' => '/^\d{9}$/',
            
'uan' => '/^\d{9}$/',
            
'emergency' => '/^\d{3}$/',
        ),
    ),
);
Онлайн: 3
Реклама