/home/techb158/exp.abdallabala.com/vendor/fzaninotto/faker/src/Faker/Provider
NameSizeModeActions
ar_JO/-0755rm
ar_SA/-0755rm
at_AT/-0755rm
bg_BG/-0755rm
bn_BD/-0755rm
cs_CZ/-0755rm
da_DK/-0755rm
de_AT/-0755rm
de_CH/-0755rm
de_DE/-0755rm
el_CY/-0755rm
el_GR/-0755rm
en_AU/-0755rm
en_CA/-0755rm
en_GB/-0755rm
en_HK/-0755rm
en_IN/-0755rm
en_NG/-0755rm
en_NZ/-0755rm
en_PH/-0755rm
en_SG/-0755rm
en_UG/-0755rm
en_US/-0755rm
en_ZA/-0755rm
es_AR/-0755rm
es_ES/-0755rm
es_PE/-0755rm
es_VE/-0755rm
et_EE/-0755rm
fa_IR/-0755rm
fi_FI/-0755rm
fr_BE/-0755rm
fr_CA/-0755rm
fr_CH/-0755rm
fr_FR/-0755rm
he_IL/-0755rm
hr_HR/-0755rm
hu_HU/-0755rm
hy_AM/-0755rm
id_ID/-0755rm
is_IS/-0755rm
it_CH/-0755rm
it_IT/-0755rm
ja_JP/-0755rm
ka_GE/-0755rm
kk_KZ/-0755rm
ko_KR/-0755rm
lt_LT/-0755rm
lv_LV/-0755rm
me_ME/-0755rm
mn_MN/-0755rm
ms_MY/-0755rm
nb_NO/-0755rm
ne_NP/-0755rm
nl_BE/-0755rm
nl_NL/-0755rm
pl_PL/-0755rm
pt_BR/-0755rm
pt_PT/-0755rm
ro_MD/-0755rm
ro_RO/-0755rm
ru_RU/-0755rm
sk_SK/-0755rm
sl_SI/-0755rm
sr_Cyrl_RS/-0755rm
sr_Latn_RS/-0755rm
sr_RS/-0755rm
sv_SE/-0755rm
th_TH/-0755rm
tr_TR/-0755rm
uk_UA/-0755rm
vi_VN/-0755rm
zh_CN/-0755rm
zh_TW/-0755rm
Address.php33150644editdlrm
Barcode.php28050644editdlrm
Base.php203380644editdlrm
Biased.php18330644editdlrm
Color.php45300644editdlrm
Company.php9160644editdlrm
DateTime.php116600644editdlrm
File.php488620644editdlrm
HtmlLorem.php95790644editdlrm
Image.php36290644editdlrm
Internet.php157190644editdlrm
Lorem.php78080644editdlrm
Miscellaneous.php133530644editdlrm
Payment.php117030644editdlrm
Person.php31410644editdlrm
PhoneNumber.php10530644editdlrm
Text.php47400644editdlrm
UserAgent.php61180644editdlrm
Uuid.php17820644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/fzaninotto/faker/src/Faker/Provider/Barcode.php (2805B)
$digit) { $sums += $digit * $sequence[$n % 2]; } return (10 - $sums % 10) % 10; } /** * ISBN-10 check digit * @link http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits * * @param string $input ISBN without check-digit * @throws \LengthException When wrong input length passed * * @return integer Check digit */ protected static function isbnChecksum($input) { // We're calculating check digit for ISBN-10 // so, the length of the input should be 9 $length = 9; if (strlen($input) !== $length) { throw new \LengthException(sprintf('Input length should be equal to %d', $length)); } $digits = str_split($input); array_walk( $digits, function (&$digit, $position) { $digit = (10 - $position) * $digit; } ); $result = (11 - array_sum($digits) % 11) % 11; // 10 is replaced by X return ($result < 10)?$result:'X'; } /** * Get a random EAN13 barcode. * @return string * @example '4006381333931' */ public function ean13() { return $this->ean(13); } /** * Get a random EAN8 barcode. * @return string * @example '73513537' */ public function ean8() { return $this->ean(8); } /** * Get a random ISBN-10 code * @link http://en.wikipedia.org/wiki/International_Standard_Book_Number * * @return string * @example '4881416324' */ public function isbn10() { $code = static::numerify(str_repeat('#', 9)); return $code . static::isbnChecksum($code); } /** * Get a random ISBN-13 code * @link http://en.wikipedia.org/wiki/International_Standard_Book_Number * * @return string * @example '9790404436093' */ public function isbn13() { $code = '97' . static::numberBetween(8, 9) . static::numerify(str_repeat('#', 9)); return $code . static::eanChecksum($code); } }