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' => '47',
11    'patterns' => [
12        'national' => [
13            'general' => '/^(?:0\\d{4}|[2-9]\\d{7})$/',
14            'fixed' => '/^(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}$/',
15            'mobile' => '/^(?:4[015-8]|5[89]|9\\d)\\d{6}$/',
16            'tollfree' => '/^80[01]\\d{5}$/',
17            'premium' => '/^82[09]\\d{5}$/',
18            'shared' => '/^810(?:0[0-6]|[2-8]\\d)\\d{3}$/',
19            'personal' => '/^880\\d{5}$/',
20            'voip' => '/^85[0-5]\\d{5}$/',
21            'uan' => '/^(?:0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3})$/',
22            'voicemail' => '/^81[23]\\d{5}$/',
23            'emergency' => '/^11[023]$/',
24        ],
25        'possible' => [
26            'general' => '/^\\d{5}(?:\\d{3})?$/',
27            'fixed' => '/^\\d{8}$/',
28            'mobile' => '/^\\d{8}$/',
29            'tollfree' => '/^\\d{8}$/',
30            'premium' => '/^\\d{8}$/',
31            'shared' => '/^\\d{8}$/',
32            'personal' => '/^\\d{8}$/',
33            'voip' => '/^\\d{8}$/',
34            'voicemail' => '/^\\d{8}$/',
35            'emergency' => '/^\\d{3}$/',
36        ],
37    ],
38];
39