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' => '501', 11 'patterns' => [ 12 'national' => [ 13 'general' => '/^(?:[2-8]\\d{6}|0\\d{10})$/', 14 'fixed' => '/^[234578][02]\\d{5}$/', 15 'mobile' => '/^6[0-367]\\d{5}$/', 16 'tollfree' => '/^0800\\d{7}$/', 17 'emergency' => '/^9(?:0|11)$/', 18 ], 19 'possible' => [ 20 'general' => '/^\\d{7}(?:\\d{4})?$/', 21 'fixed' => '/^\\d{7}$/', 22 'mobile' => '/^\\d{7}$/', 23 'tollfree' => '/^\\d{11}$/', 24 'emergency' => '/^\\d{2,3}$/', 25 ], 26 ], 27]; 28