Skip to content

Fixed wrong return type.#39

Open
TonnyJe wants to merge 1 commit into
dfridrich:mainfrom
TonnyJe:main
Open

Fixed wrong return type.#39
TonnyJe wants to merge 1 commit into
dfridrich:mainfrom
TonnyJe:main

Conversation

@TonnyJe

@TonnyJe TonnyJe commented Apr 4, 2023

Copy link
Copy Markdown

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
Copy Markdown

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.

@MichaelaBlatakova MichaelaBlatakova left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ok

@TonnyJe

TonnyJe commented Nov 13, 2024

Copy link
Copy Markdown
Author

@dfridrich ?

@tomasr1981

Copy link
Copy Markdown

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