If you try to validate the IBAN MCBKCWCU25727002 for example, the library will use BK as part of the checksum and make the call bcmod('12321230257270022212BK', '97', 0) in \Iban\Validation\Validator::local_bcmod. As you can see the first argument is not numeric and it leads to the error mentioned in the title.
Hi,
PHP 7.4 no longer suppresses malformed input for bcmath functions. See https://www.php.net/manual/en/migration74.incompatible.php
If you try to validate the IBAN
MCBKCWCU25727002
for example, the library will useBK
as part of the checksum and make the callbcmod('12321230257270022212BK', '97', 0)
in \Iban\Validation\Validator::local_bcmod. As you can see the first argument is not numeric and it leads to the error mentioned in the title.