X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/fakerphp/faker/src/Faker/Provider
home
/
prisjneg
/
public_html
/
vendor
/
fakerphp
/
faker
/
src
/
Faker
/
Provider
/
📁
..
📄
Address.php
(3.49 KB)
📄
Barcode.php
(2.19 KB)
📄
Base.php
(22.2 KB)
📄
Biased.php
(1.79 KB)
📄
Color.php
(4.64 KB)
📄
Company.php
(901 B)
📄
DateTime.php
(12.1 KB)
📄
File.php
(25.1 KB)
📄
HtmlLorem.php
(9.98 KB)
📄
Image.php
(6 KB)
📄
Internet.php
(17.17 KB)
📄
Lorem.php
(7.7 KB)
📄
Medical.php
(648 B)
📄
Miscellaneous.php
(13.21 KB)
📄
Payment.php
(10.42 KB)
📄
Person.php
(3.23 KB)
📄
PhoneNumber.php
(6.45 KB)
📄
Text.php
(6.65 KB)
📄
UserAgent.php
(8.46 KB)
📄
Uuid.php
(1.78 KB)
📁
ar_EG
📁
ar_JO
📁
ar_SA
📁
at_AT
📁
bg_BG
📁
bn_BD
📁
cs_CZ
📁
da_DK
📁
de_AT
📁
de_CH
📁
de_DE
📁
el_CY
📁
el_GR
📁
en_AU
📁
en_CA
📁
en_GB
📁
en_HK
📁
en_IN
📁
en_NG
📁
en_NZ
📁
en_PH
📁
en_SG
📁
en_UG
📁
en_US
📁
en_ZA
📁
es_AR
📁
es_ES
📁
es_PE
📁
es_VE
📁
et_EE
📁
fa_IR
📁
fi_FI
📁
fr_BE
📁
fr_CA
📁
fr_CH
📁
fr_FR
📁
he_IL
📁
hr_HR
📁
hu_HU
📁
hy_AM
📁
id_ID
📁
is_IS
📁
it_CH
📁
it_IT
📁
ja_JP
📁
ka_GE
📁
kk_KZ
📁
ko_KR
📁
lt_LT
📁
lv_LV
📁
me_ME
📁
mn_MN
📁
ms_MY
📁
nb_NO
📁
ne_NP
📁
nl_BE
📁
nl_NL
📁
pl_PL
📁
pt_BR
📁
pt_PT
📁
ro_MD
📁
ro_RO
📁
ru_RU
📁
sk_SK
📁
sl_SI
📁
sr_Cyrl_RS
📁
sr_Latn_RS
📁
sr_RS
📁
sv_SE
📁
th_TH
📁
tr_TR
📁
uk_UA
📁
vi_VN
📁
zh_CN
📁
zh_TW
Editing: Uuid.php
<?php namespace Faker\Provider; class Uuid extends Base { /** * Generate name based md5 UUID (version 3). * * @example '7e57d004-2b97-0e7a-b45f-5387367791cd' * * @return string */ public static function uuid() { // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit // two such calls will cause 64bits of randomness regardless of architecture $seed = self::numberBetween(0, 2147483647) . '#' . self::numberBetween(0, 2147483647); // Hash the seed and convert to a byte array $val = md5($seed, true); $byte = array_values(unpack('C16', $val)); // extract fields from byte array $tLo = ($byte[0] << 24) | ($byte[1] << 16) | ($byte[2] << 8) | $byte[3]; $tMi = ($byte[4] << 8) | $byte[5]; $tHi = ($byte[6] << 8) | $byte[7]; $csLo = $byte[9]; $csHi = $byte[8] & 0x3f | (1 << 7); // correct byte order for big edian architecture if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) { $tLo = (($tLo & 0x000000ff) << 24) | (($tLo & 0x0000ff00) << 8) | (($tLo & 0x00ff0000) >> 8) | (($tLo & 0xff000000) >> 24); $tMi = (($tMi & 0x00ff) << 8) | (($tMi & 0xff00) >> 8); $tHi = (($tHi & 0x00ff) << 8) | (($tHi & 0xff00) >> 8); } // apply version number $tHi &= 0x0fff; $tHi |= (3 << 12); // cast to string return sprintf( '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x', $tLo, $tMi, $tHi, $csHi, $csLo, $byte[10], $byte[11], $byte[12], $byte[13], $byte[14], $byte[15], ); } }
Upload File
Create Folder