芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/fakerphp/faker/src/Faker/Provider/pt_BR/check_digit.php
= 12; $verifier = 0; for ($i = 1; $i <= $length; ++$i) { if (!$second_algorithm) { $multiplier = $i + 1; } else { $multiplier = ($i >= 9) ? $i - 7 : $i + 1; } $verifier += $numbers[$length - $i] * $multiplier; } $verifier = 11 - ($verifier % 11); if ($verifier >= 10) { $verifier = 0; } return $verifier; }