1<?php 2 3/** 4 * @see https://github.com/laminas/laminas-i18n for the canonical source repository 5 * @copyright https://github.com/laminas/laminas-i18n/blob/master/COPYRIGHT.md 6 * @license https://github.com/laminas/laminas-i18n/blob/master/LICENSE.md New BSD License 7 */ 8 9return [ 10 'code' => '502', 11 'patterns' => [ 12 'national' => [ 13 'general' => '/^(?:[2-7]\\d{7}|1[89]\\d{9})$/', 14 'fixed' => '/^[267][2-9]\\d{6}$/', 15 'mobile' => '/^[345]\\d{7}$/', 16 'tollfree' => '/^18[01]\\d{8}$/', 17 'premium' => '/^19\\d{9}$/', 18 'shortcode' => '/^1(?:2[124-9]|[57]\\d{2})$/', 19 'emergency' => '/^1(?:10|2[03])$/', 20 ], 21 'possible' => [ 22 'general' => '/^\\d{8}(?:\\d{3})?$/', 23 'fixed' => '/^\\d{8}$/', 24 'mobile' => '/^\\d{8}$/', 25 'tollfree' => '/^\\d{11}$/', 26 'premium' => '/^\\d{11}$/', 27 'shortcode' => '/^\\d{3,4}$/', 28 'emergency' => '/^\\d{3}$/', 29 ], 30 ], 31]; 32