PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 3.14.2
GiveWP – Donation Plugin and Fundraising Platform v3.14.2
4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / vendor / vendor-prefixed / fakerphp / faker / src / Faker / Provider / Miscellaneous.php
give / vendor / vendor-prefixed / fakerphp / faker / src / Faker / Provider Last commit date
ar_EG 1 year ago ar_JO 1 year ago ar_SA 1 year ago at_AT 1 year ago bg_BG 1 year ago bn_BD 1 year ago cs_CZ 1 year ago da_DK 1 year ago de_AT 1 year ago de_CH 1 year ago de_DE 1 year ago el_CY 1 year ago el_GR 1 year ago en_AU 1 year ago en_CA 1 year ago en_GB 1 year ago en_HK 1 year ago en_IN 1 year ago en_NG 1 year ago en_NZ 1 year ago en_PH 1 year ago en_SG 1 year ago en_UG 1 year ago en_US 1 year ago en_ZA 1 year ago es_AR 1 year ago es_ES 1 year ago es_PE 1 year ago es_VE 1 year ago et_EE 1 year ago fa_IR 1 year ago fi_FI 1 year ago fr_BE 1 year ago fr_CA 1 year ago fr_CH 1 year ago fr_FR 1 year ago he_IL 1 year ago hr_HR 1 year ago hu_HU 1 year ago hy_AM 1 year ago id_ID 1 year ago is_IS 1 year ago it_CH 1 year ago it_IT 1 year ago ja_JP 1 year ago ka_GE 1 year ago kk_KZ 1 year ago ko_KR 1 year ago lt_LT 1 year ago lv_LV 1 year ago me_ME 1 year ago mn_MN 1 year ago ms_MY 1 year ago nb_NO 1 year ago ne_NP 1 year ago nl_BE 1 year ago nl_NL 1 year ago pl_PL 1 year ago pt_BR 1 year ago pt_PT 1 year ago ro_MD 1 year ago ro_RO 1 year ago ru_RU 1 year ago sk_SK 1 year ago sl_SI 1 year ago sr_Cyrl_RS 1 year ago sr_Latn_RS 1 year ago sr_RS 1 year ago sv_SE 1 year ago th_TH 1 year ago tr_TR 1 year ago uk_UA 1 year ago vi_VN 1 year ago zh_CN 1 year ago zh_TW 1 year ago Address.php 1 year ago Barcode.php 1 year ago Base.php 1 year ago Biased.php 1 year ago Color.php 1 year ago Company.php 1 year ago DateTime.php 1 year ago File.php 1 year ago HtmlLorem.php 1 year ago Image.php 1 year ago Internet.php 1 year ago Lorem.php 1 year ago Medical.php 1 year ago Miscellaneous.php 1 year ago Payment.php 1 year ago Person.php 1 year ago PhoneNumber.php 1 year ago Text.php 1 year ago UserAgent.php 1 year ago Uuid.php 1 year ago
Miscellaneous.php
348 lines
1 <?php
2 /**
3 * @license MIT
4 *
5 * Modified by impress-org on 07-August-2024 using Strauss.
6 * @see https://github.com/BrianHenryIE/strauss
7 */
8
9 namespace Give\Vendors\Faker\Provider;
10
11 class Miscellaneous extends Base
12 {
13 /**
14 * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks
15 * On date of 2017-03-26
16 *
17 * U+1F600 - U+1F637 in Unicode Codepoint Escape Syntax
18 */
19 protected static $emoji = [
20 "\u{1F600}", "\u{1F601}", "\u{1F602}", "\u{1F603}",
21 "\u{1F604}", "\u{1F605}", "\u{1F606}", "\u{1F607}",
22 "\u{1F608}", "\u{1F609}", "\u{1F60A}", "\u{1F60B}",
23 "\u{1F60C}", "\u{1F60D}", "\u{1F60E}", "\u{1F60F}",
24 "\u{1F610}", "\u{1F611}", "\u{1F612}", "\u{1F613}",
25 "\u{1F614}", "\u{1F615}", "\u{1F616}", "\u{1F617}",
26 "\u{1F618}", "\u{1F619}", "\u{1F61A}", "\u{1F61B}",
27 "\u{1F61C}", "\u{1F61D}", "\u{1F61E}", "\u{1F61F}",
28 "\u{1F620}", "\u{1F621}", "\u{1F622}", "\u{1F623}",
29 "\u{1F624}", "\u{1F625}", "\u{1F626}", "\u{1F627}",
30 "\u{1F628}", "\u{1F629}", "\u{1F62A}", "\u{1F62B}",
31 "\u{1F62C}", "\u{1F62D}", "\u{1F62E}", "\u{1F62F}",
32 "\u{1F630}", "\u{1F631}", "\u{1F632}", "\u{1F633}",
33 "\u{1F634}", "\u{1F635}", "\u{1F636}", "\u{1F637}",
34 ];
35
36 /**
37 * @see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
38 * On date of 2016-04-22
39 */
40 protected static $languageCode = [
41 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av',
42 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo',
43 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cu', 'cv',
44 'cy', 'da', 'de', 'dv', 'dz', 'ee', 'el', 'en', 'eo', 'es',
45 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fy', 'ga',
46 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr',
47 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik',
48 'io', 'is', 'it', 'iu', 'ja', 'jv', 'ka', 'kg', 'ki', 'kj',
49 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw',
50 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv',
51 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms', 'mt', 'my',
52 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv',
53 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps',
54 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd',
55 'se', 'sg', 'si', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sr',
56 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti',
57 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug',
58 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi',
59 'yo', 'za', 'zh', 'zu',
60 ];
61
62 /**
63 * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
64 * On date of 2014-10-19
65 */
66 protected static $countryCode = [
67 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR',
68 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE',
69 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ',
70 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF',
71 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU',
72 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO',
73 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ',
74 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG',
75 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT',
76 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE',
77 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM',
78 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR',
79 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS',
80 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG',
81 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS',
82 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE',
83 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM',
84 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR',
85 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW',
86 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK',
87 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY',
88 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM',
89 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM',
90 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU',
91 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW',
92 ];
93
94 /**
95 * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
96 * On date of 2014-10-19
97 */
98 protected static $countryISOAlpha3 = [
99 'ABW', 'AFG', 'AGO', 'AIA', 'ALA', 'ALB', 'AND', 'ARE', 'ARG', 'ARM',
100 'ASM', 'ATA', 'ATF', 'ATG', 'AUS', 'AUT', 'AZE', 'BDI', 'BEL', 'BEN',
101 'BES', 'BFA', 'BGD', 'BGR', 'BHR', 'BHS', 'BIH', 'BLM', 'BLR', 'BLZ',
102 'BMU', 'BOL', 'BRA', 'BRB', 'BRN', 'BTN', 'BVT', 'BWA', 'CAF', 'CAN',
103 'CCK', 'CHE', 'CHL', 'CHN', 'CIV', 'CMR', 'COD', 'COG', 'COK', 'COL',
104 'COM', 'CPV', 'CRI', 'CUB', 'CUW', 'CXR', 'CYM', 'CYP', 'CZE', 'DEU',
105 'DJI', 'DMA', 'DNK', 'DOM', 'DZA', 'ECU', 'EGY', 'ERI', 'ESH', 'ESP',
106 'EST', 'ETH', 'FIN', 'FJI', 'FLK', 'FRA', 'FRO', 'FSM', 'GAB', 'GBR',
107 'GEO', 'GGY', 'GHA', 'GIB', 'GIN', 'GLP', 'GMB', 'GNB', 'GNQ', 'GRC',
108 'GRD', 'GRL', 'GTM', 'GUF', 'GUM', 'GUY', 'HKG', 'HMD', 'HND', 'HRV',
109 'HTI', 'HUN', 'IDN', 'IMN', 'IND', 'IOT', 'IRL', 'IRN', 'IRQ', 'ISL',
110 'ISR', 'ITA', 'JAM', 'JEY', 'JOR', 'JPN', 'KAZ', 'KEN', 'KGZ', 'KHM',
111 'KIR', 'KNA', 'KOR', 'KWT', 'LAO', 'LBN', 'LBR', 'LBY', 'LCA', 'LIE',
112 'LKA', 'LSO', 'LTU', 'LUX', 'LVA', 'MAC', 'MAF', 'MAR', 'MCO', 'MDA',
113 'MDG', 'MDV', 'MEX', 'MHL', 'MKD', 'MLI', 'MLT', 'MMR', 'MNE', 'MNG',
114 'MNP', 'MOZ', 'MRT', 'MSR', 'MTQ', 'MUS', 'MWI', 'MYS', 'MYT', 'NAM',
115 'NCL', 'NER', 'NFK', 'NGA', 'NIC', 'NIU', 'NLD', 'NOR', 'NPL', 'NRU',
116 'NZL', 'OMN', 'PAK', 'PAN', 'PCN', 'PER', 'PHL', 'PLW', 'PNG', 'POL',
117 'PRI', 'PRK', 'PRT', 'PRY', 'PSE', 'PYF', 'QAT', 'REU', 'ROU', 'RUS',
118 'RWA', 'SAU', 'SDN', 'SEN', 'SGP', 'SGS', 'SHN', 'SJM', 'SLB', 'SLE',
119 'SLV', 'SMR', 'SOM', 'SPM', 'SRB', 'SSD', 'STP', 'SUR', 'SVK', 'SVN',
120 'SWE', 'SWZ', 'SXM', 'SYC', 'SYR', 'TCA', 'TCD', 'TGO', 'THA', 'TJK',
121 'TKL', 'TKM', 'TLS', 'TON', 'TTO', 'TUN', 'TUR', 'TUV', 'TWN', 'TZA',
122 'UGA', 'UKR', 'UMI', 'URY', 'USA', 'UZB', 'VAT', 'VCT', 'VEN', 'VGB',
123 'VIR', 'VNM', 'VUT', 'WLF', 'WSM', 'YEM', 'ZAF', 'ZMB', 'ZWE',
124 ];
125
126 protected static $localeData = [
127 'aa_DJ', 'aa_ER', 'aa_ET',
128 'af_NA', 'af_ZA', 'ak_GH',
129 'am_ET', 'ar_AE', 'ar_BH', 'ar_DZ',
130 'ar_EG', 'ar_IQ', 'ar_JO', 'ar_KW', 'ar_LB',
131 'ar_LY', 'ar_MA', 'ar_OM', 'ar_QA', 'ar_SA',
132 'ar_SD', 'ar_SY', 'ar_TN', 'ar_YE',
133 'as_IN', 'az_AZ', 'be_BY',
134 'bg_BG', 'bn_BD', 'bn_IN',
135 'bo_CN', 'bo_IN', 'bs_BA',
136 'byn_ER', 'ca_ES',
137 'cch_NG', 'cs_CZ',
138 'cy_GB', 'da_DK', 'de_AT',
139 'de_BE', 'de_CH', 'de_DE', 'de_LI', 'de_LU',
140 'dv_MV', 'dz_BT',
141 'ee_GH', 'ee_TG', 'el_CY', 'el_GR',
142 'en_AS', 'en_AU', 'en_BE', 'en_BW',
143 'en_BZ', 'en_CA', 'en_GB', 'en_GU', 'en_HK',
144 'en_IE', 'en_IN', 'en_JM', 'en_MH', 'en_MP',
145 'en_MT', 'en_NA', 'en_NZ', 'en_PH', 'en_PK',
146 'en_SG', 'en_TT', 'en_UM', 'en_US', 'en_VI',
147 'en_ZA', 'en_ZW', 'es_AR',
148 'es_BO', 'es_CL', 'es_CO', 'es_CR', 'es_DO',
149 'es_EC', 'es_ES', 'es_GT', 'es_HN', 'es_MX',
150 'es_NI', 'es_PA', 'es_PE', 'es_PR', 'es_PY',
151 'es_SV', 'es_US', 'es_UY', 'es_VE',
152 'et_EE', 'eu_ES', 'fa_AF',
153 'fa_IR', 'fi_FI', 'fil_PH',
154 'fo_FO', 'fr_BE', 'fr_CA',
155 'fr_CH', 'fr_FR', 'fr_LU', 'fr_MC', 'fr_SN',
156 'fur_IT', 'ga_IE',
157 'gaa_GH', 'gez_ER', 'gez_ET',
158 'gl_ES', 'gsw_CH', 'gu_IN',
159 'gv_GB', 'ha_GH', 'ha_NE',
160 'ha_NG', 'ha_SD', 'haw_US',
161 'he_IL', 'hi_IN', 'hr_HR',
162 'hu_HU', 'hy_AM',
163 'id_ID', 'ig_NG',
164 'ii_CN', 'is_IS',
165 'it_CH', 'it_IT',
166 'ja_JP', 'ka_GE', 'kaj_NG',
167 'kam_KE', 'kcg_NG',
168 'kfo_CI', 'kk_KZ', 'kl_GL',
169 'km_KH', 'kn_IN',
170 'ko_KR', 'kok_IN', 'kpe_GN',
171 'kpe_LR', 'ku_IQ', 'ku_IR', 'ku_SY',
172 'ku_TR', 'kw_GB', 'ky_KG',
173 'ln_CD', 'ln_CG', 'lo_LA',
174 'lt_LT', 'lv_LV',
175 'mk_MK', 'ml_IN', 'mn_CN',
176 'mn_MN', 'mr_IN',
177 'ms_BN', 'ms_MY', 'mt_MT',
178 'my_MM', 'nb_NO', 'nds_DE',
179 'ne_IN', 'ne_NP', 'nl_BE',
180 'nl_NL', 'nn_NO',
181 'nr_ZA', 'nso_ZA', 'ny_MW',
182 'oc_FR', 'om_ET', 'om_KE',
183 'or_IN', 'pa_IN', 'pa_PK',
184 'pl_PL', 'ps_AF',
185 'pt_BR', 'pt_PT', 'ro_MD', 'ro_RO',
186 'ru_RU', 'ru_UA', 'rw_RW',
187 'sa_IN', 'se_FI', 'se_NO',
188 'sh_BA', 'sh_CS', 'sh_YU',
189 'si_LK', 'sid_ET', 'sk_SK',
190 'sl_SI', 'so_DJ', 'so_ET',
191 'so_KE', 'so_SO', 'sq_AL',
192 'sr_BA', 'sr_CS', 'sr_ME', 'sr_RS', 'sr_YU',
193 'ss_SZ', 'ss_ZA', 'st_LS',
194 'st_ZA', 'sv_FI', 'sv_SE',
195 'sw_KE', 'sw_TZ', 'syr_SY',
196 'ta_IN', 'te_IN', 'tg_TJ',
197 'th_TH', 'ti_ER', 'ti_ET',
198 'tig_ER', 'tn_ZA',
199 'to_TO', 'tr_TR',
200 'trv_TW', 'ts_ZA', 'tt_RU',
201 'ug_CN', 'uk_UA',
202 'ur_IN', 'ur_PK', 'uz_AF', 'uz_UZ',
203 've_ZA', 'vi_VN',
204 'wal_ET', 'wo_SN', 'xh_ZA',
205 'yo_NG', 'zh_CN', 'zh_HK',
206 'zh_MO', 'zh_SG', 'zh_TW', 'zu_ZA',
207 ];
208
209 /**
210 * @see https://en.wikipedia.org/wiki/ISO_4217
211 * On date of 2019-09-27
212 *
213 * With the following exceptions:
214 * SVC has been replaced by the USD in 2001: https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n
215 * ZWL has been suspended since 2009: https://en.wikipedia.org/wiki/Zimbabwean_dollar
216 */
217 protected static $currencyCode = [
218 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN',
219 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL',
220 'BSD', 'BTN', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY',
221 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD',
222 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GHS', 'GIP',
223 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR',
224 'ILS', 'INR', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS',
225 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR',
226 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP',
227 'MRU', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO',
228 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN',
229 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG',
230 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SYP', 'SZL',
231 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH',
232 'UGX', 'USD', 'UYU', 'UZS', 'VES', 'VND', 'VUV', 'WST', 'XAF', 'XCD',
233 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW',
234 ];
235
236 /**
237 * Return a boolean, true or false.
238 *
239 * @param int $chanceOfGettingTrue Between 0 (always get false) and 100 (always get true)
240 *
241 * @return bool
242 *
243 * @example true
244 */
245 public static function boolean($chanceOfGettingTrue = 50)
246 {
247 return self::numberBetween(1, 100) <= $chanceOfGettingTrue;
248 }
249
250 /**
251 * @example 'cfcd208495d565ef66e7dff9f98764da'
252 *
253 * @return string
254 */
255 public static function md5()
256 {
257 return md5(self::numberBetween());
258 }
259
260 /**
261 * @example 'b5d86317c2a144cd04d0d7c03b2b02666fafadf2'
262 *
263 * @return string
264 */
265 public static function sha1()
266 {
267 return sha1(self::numberBetween());
268 }
269
270 /**
271 * @example '85086017559ccc40638fcde2fecaf295e0de7ca51b7517b6aebeaaf75b4d4654'
272 *
273 * @return string
274 */
275 public static function sha256()
276 {
277 return hash('sha256', self::numberBetween());
278 }
279
280 /**
281 * @example 'fr_FR'
282 *
283 * @return string
284 */
285 public static function locale()
286 {
287 return static::randomElement(static::$localeData);
288 }
289
290 /**
291 * @example 'FR'
292 *
293 * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
294 *
295 * @return string
296 */
297 public static function countryCode()
298 {
299 return static::randomElement(static::$countryCode);
300 }
301
302 /**
303 * @example 'FRA'
304 *
305 * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
306 *
307 * @return string
308 */
309 public static function countryISOAlpha3()
310 {
311 return static::randomElement(static::$countryISOAlpha3);
312 }
313
314 /**
315 * @example 'fr'
316 *
317 * @return string
318 */
319 public static function languageCode()
320 {
321 return static::randomElement(static::$languageCode);
322 }
323
324 /**
325 * @example 'EUR'
326 *
327 * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
328 *
329 * @return string
330 */
331 public static function currencyCode()
332 {
333 return static::randomElement(static::$currencyCode);
334 }
335
336 /**
337 * Returns an Emoji (Unicode character between U+1F600 and U+1F637).
338 *
339 * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks
340 *
341 * @return string
342 */
343 public static function emoji()
344 {
345 return static::randomElement(static::$emoji);
346 }
347 }
348