Skip to content

ext/gmp: expose the possibility of being a prime in gmp_prevprime - #22907

Open
LamentXU123 wants to merge 2 commits into
php:masterfrom
LamentXU123:prevprime
Open

ext/gmp: expose the possibility of being a prime in gmp_prevprime#22907
LamentXU123 wants to merge 2 commits into
php:masterfrom
LamentXU123:prevprime

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

Follow up #22807 cc @arnaud-lb

@LamentXU123
LamentXU123 marked this pull request as ready for review July 28, 2026 10:43

@arnaud-lb arnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you! This looks good to me otherwise, but please wait for other reviewers

Comment thread ext/gmp/gmp.stub.php Outdated
Co-authored-by: Arnaud Le Blanc <365207+arnaud-lb@users.noreply.github.com>
@LamentXU123

LamentXU123 commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

@mbeccati @arnaud-lb Ah, the first version of gmp_prevprime already goes into alpha3... Should I add a NEWS entry under the beta section to clarify this change?

Oh, why this just happens to be in the middle of releases, why...

@mbeccati

Copy link
Copy Markdown
Contributor

@LamentXU123 If you think the change is worth to highlight sure. But then again, it's just an alpha version, so it depends on how much you care.

@LamentXU123

Copy link
Copy Markdown
Member Author

This is a huge change to the function. So in this logic we should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants