Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/GH.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' => '233',
    
'patterns' => array(
        
'national' => array(
            
'general' => '/^[235]\d{8}|8\d{7}$/',
            
'fixed' => '/^3(?:0[237]\d|[167](?:2[0-6]|7\d)|2(?:2[0-5]|7\d)|3(?:2[0-3]|7\d)|4(?:2[013-9]|3[01]|7\d)|5(?:2[0-7]|7\d)|8(?:2[0-2]|7\d)|9(?:20|7\d))\d{5}$/',
            
'mobile' => '/^(?:2[034678]|5[047])\d{7}$/',
            
'tollfree' => '/^800\d{5}$/',
            
'emergency' => '/^19[123]|999$/',
        ),
        
'possible' => array(
            
'general' => '/^\d{7,9}$/',
            
'fixed' => '/^\d{7,9}$/',
            
'mobile' => '/^\d{9}$/',
            
'tollfree' => '/^\d{8}$/',
            
'emergency' => '/^\d{3}$/',
        ),
    ),
);
Онлайн: 2
Реклама