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

[0.9] Use gmp operator overload instead of gmp_pow for certain PHP versions #216

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

kelvinmo
Copy link
Owner

Backport: #215

There is a bug in PHP 8.3.14 and 8.2.26 that causes gmp_pow to fail.
See php/php-src#16870

Using operator overloading (**) instead of gmp_pow may fix the issue.
See php/php-src#16870 (comment)

Fixes #214

…#215)

Use gmp operator overload instead of gmp_pow for certain PHP versions
@kelvinmo kelvinmo merged commit fb8b44f into 0.9 Dec 11, 2024
14 checks passed
@kelvinmo kelvinmo deleted the bp-0.9-82006ee branch December 11, 2024 09:49
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.

1 participant