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' => '420', 11 'patterns' => [ 12 'national' => [ 13 'general' => '/^(?:[2-8]\\d{8}|9\\d{8,11})$/', 14 'fixed' => '/^(?:2\\d{8}|(?:3[1257-9]|4[16-9]|5[13-9])\\d{7})$/', 15 'mobile' => '/^(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}$/', 16 'tollfree' => '/^800\\d{6}$/', 17 'premium' => '/^9(?:0[05689]|76)\\d{6}$/', 18 'shared' => '/^8[134]\\d{7}$/', 19 'personal' => '/^70[01]\\d{6}$/', 20 'voip' => '/^9[17]0\\d{6}$/', 21 'uan' => '/^9(?:5[056]|7[234])\\d{6}$/', 22 'voicemail' => '/^9(?:3\\d{9}|6\\d{7,10})$/', 23 'shortcode' => '/^1(?:1(?:6\\d{3}|8\\d)|2\\d{2,3}|3\\d{3,4}|4\\d{3}|99)$/', 24 'emergency' => '/^1(?:12|5[058])$/', 25 ], 26 'possible' => [ 27 'general' => '/^\\d{9,12}$/', 28 'voicemail' => '/^\\d{9,12}$/', 29 'shortcode' => '/^\\d{4,6}$/', 30 'emergency' => '/^\\d{3}$/', 31 ], 32 ], 33]; 34