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' => '1',
11    'patterns' => [
12        'national' => [
13            'general' => '/^[3589]\\d{9}$/',
14            'fixed' => '/^340(?:2(?:01|2[067]|36|44|77)|3(?:32|44)|4(?:4[38]|7[34])|5(?:1[34]|55)|6(?:26|4[23]|9[023])|7(?:[17]\\d|27)|884|998)\\d{4}$/',
15            'mobile' => '/^340(?:2(?:01|2[067]|36|44|77)|3(?:32|44)|4(?:4[38]|7[34])|5(?:1[34]|55)|6(?:26|4[23]|9[023])|7(?:[17]\\d|27)|884|998)\\d{4}$/',
16            'tollfree' => '/^8(?:00|55|66|77|88)[2-9]\\d{6}$/',
17            'premium' => '/^900[2-9]\\d{6}$/',
18            'personal' => '/^5(?:00|33|44)[2-9]\\d{6}$/',
19            'emergency' => '/^911$/',
20        ],
21        'possible' => [
22            'general' => '/^\\d{7}(?:\\d{3})?$/',
23            'tollfree' => '/^\\d{10}$/',
24            'premium' => '/^\\d{10}$/',
25            'personal' => '/^\\d{10}$/',
26            'emergency' => '/^\\d{3}$/',
27        ],
28    ],
29];
30