REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.70 KB
Close
/home/byroehnu/easetack.com/vendor/fakerphp/faker/src/Faker/Provider/ro_RO/PhoneNumber.php
Text
Base64
<?php namespace Faker\Provider\ro_RO; class PhoneNumber extends \Faker\Provider\PhoneNumber { protected static $normalFormats = [ 'landline' => [ '021#######', // Bucharest '023#######', '024#######', '025#######', '026#######', '027#######', // non-geographic '031#######', // Bucharest '033#######', '034#######', '035#######', '036#######', '037#######', // non-geographic ], 'mobile' => [ '07########', ], ]; protected static $specialFormats = [ 'toll-free' => [ '0800######', '0801######', // shared-cost numbers '0802######', // personal numbering '0806######', // virtual cards '0807######', // pre-paid cards '0870######', // internet dial-up ], 'premium-rate' => [ '0900######', '0903######', // financial information '0906######', // adult entertainment ], ]; /** * @see http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania#Last_years */ public function phoneNumber() { $type = static::randomElement(array_keys(static::$normalFormats)); return static::numerify(static::randomElement(static::$normalFormats[$type])); } public static function tollFreePhoneNumber() { return static::numerify(static::randomElement(static::$specialFormats['toll-free'])); } public static function premiumRatePhoneNumber() { return static::numerify(static::randomElement(static::$specialFormats['premium-rate'])); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Address.php
11.10 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Payment.php
682 B
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Person.php
16.85 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PhoneNumber.php
1.70 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Text.php
20.18 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).