Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed wrong return type. #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fixed wrong return type. #39

wants to merge 1 commit into from

Conversation

TonnyJe
Copy link

@TonnyJe TonnyJe commented Apr 4, 2023

Return type of bcmod function needs to be string, because it can return number greater than PHP_INT_MAX, eg for numbers: bcmod(PHP_INT_MAX . '1', PHP_INT_MAX . '2');

So it should have same return type as original PHP function: https://www.php.net/manual/en/function.bcmod.php

Return type of bcmod function needs to be string, because it can return number greater than PHP_INT_MAX, eg for numbers:
bcmod(PHP_INT_MAX . '1', PHP_INT_MAX . '2');

So it should have same return type as original PHP function: https://www.php.net/manual/en/function.bcmod.php
@tomasr1981
Copy link

Is there any way to speed this up? I confirm that payment via IBAN returns "The checksum of the given Iban is not valid!" due to this banality.

Copy link

@MichaelaBlatakova MichaelaBlatakova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@TonnyJe
Copy link
Author

TonnyJe commented Nov 13, 2024

@dfridrich ?

@tomasr1981
Copy link

It seems that this repository is not maintained. Otherwise I don't understand why such a fundamental and unambiguous thing cannot be processed. Therefore, the library is unusable for Euro payments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants