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' => '500', 11 'patterns' => [ 12 'national' => [ 13 'general' => '/^[2-7]\\d{4}$/', 14 'fixed' => '/^[2-47]\\d{4}$/', 15 'mobile' => '/^[56]\\d{4}$/', 16 'shortcode' => '/^1\\d{2}$/', 17 'emergency' => '/^999$/', 18 ], 19 'possible' => [ 20 'general' => '/^\\d{5}$/', 21 'shortcode' => '/^\\d{3}$/', 22 'emergency' => '/^\\d{3}$/', 23 ], 24 ], 25]; 26