Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/CL.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' => '56',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^(?:[2-9]|600|123)\d{7,8}$/',
            
'fixed' => '/^(?:[23]2|41|58)\d{7}|(?:3[3-5]|4[235]|5[1-357]|6[13-57]|7[1-35])\d{6,7}$/',
            
'mobile' => '/^9[5-9]\d{7}$/',
            
'tollfree' => '/^800\d{6}|1230\d{7}$/',
            
'shared' => '/^600\d{7,8}$/',
            
'voip' => '/^44\d{7}$/',
            
'emergency' => '/^13[123]$/',
        ),
        
'possible' => array(
            
'general' => '/^\d{6,11}$/',
            
'fixed' => '/^\d{6,9}$/',
            
'mobile' => '/^\d{8,9}$/',
            
'tollfree' => '/^\d{9,11}$/',
            
'shared' => '/^\d{10,11}$/',
            
'voip' => '/^\d{9}$/',
            
'emergency' => '/^\d{3}$/',
        ),
    ),
);
Онлайн: 2
Реклама