NC.php #1

  • //
  • guest/
  • thomas_gray/
  • jambox/
  • main/
  • swarm/
  • library/
  • Zend/
  • I18n/
  • Validator/
  • PhoneNumber/
  • NC.php
  • View
  • Commits
  • Open Download .zip Download (911 B)
<?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' => '687',
    'patterns' => array(
        'national' => array(
            'general' => '/^[2-47-9]\\d{5}$/',
            'fixed' => '/^(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}$/',
            'mobile' => '/^(?:[79]\\d|8[0-79])\\d{4}$/',
            'premium' => '/^36\\d{4}$/',
            'shortcode' => '/^10(?:0[06]|1[02-46]|20|3[0125]|42|5[058]|77)$/',
            'emergency' => '/^1[5-8]$/',
        ),
        'possible' => array(
            'general' => '/^\\d{6}$/',
            'shortcode' => '/^\\d{4}$/',
            'emergency' => '/^\\d{2}$/',
        ),
    ),
);
# Change User Description Committed
#1 18334 Liz Lam initial add of jambox