芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/fakerphp/faker/src/Faker/Provider/en_SG/Person.php
format('y'); $checksumArr = ['J', 'Z', 'I', 'H', 'G', 'F', 'E', 'D', 'C', 'B', 'A']; } $length = count($weights); for ($i = strlen($result); $i < $length; ++$i) { $result .= static::randomDigit(); } $checksum = in_array($prefix, ['G', 'T'], true) ? 4 : 0; for ($i = 0; $i < $length; ++$i) { $checksum += (int) $result[$i] * $weights[$i]; } return $prefix . $result . $checksumArr[$checksum % 11]; } }