PT.php #1

  • //
  • guest/
  • thomas_gray/
  • jambox/
  • main/
  • swarm/
  • library/
  • Zend/
  • I18n/
  • Validator/
  • PhoneNumber/
  • PT.php
  • View
  • Commits
  • Open Download .zip Download (1 KB)
<?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' => '351',
    'patterns' => array(
        'national' => array(
            'general' => '/^[2-46-9]\\d{8}$/',
            'fixed' => '/^2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}$/',
            'mobile' => '/^9(?:[136]\\d{2}|2[0-79]\\d|480)\\d{5}$/',
            'tollfree' => '/^80[02]\\d{6}$/',
            'premium' => '/^76(?:0[1-57]|1[2-47]|2[237])\\d{5}$/',
            'shared' => '/^80(?:8\\d|9[1579])\\d{5}$/',
            'personal' => '/^884[128]\\d{5}$/',
            'voip' => '/^30\\d{7}$/',
            'uan' => '/^70(?:7\\d|8[17])\\d{5}$/',
            'emergency' => '/^112$/',
        ),
        'possible' => array(
            'general' => '/^\\d{9}$/',
            'emergency' => '/^\\d{3}$/',
        ),
    ),
);
# Change User Description Committed
#1 18334 Liz Lam initial add of jambox